Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Using pragma utf8::all in processing non-utf data.

by remiah (Hermit)
on Sep 04, 2013 at 09:01 UTC ( #1052262=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "before shiftjis\n";
    open( my $fh, "<", "107.shiftjis.txt") or die $!;
    print join('', <$fh>);
    close $fh;
    
  2. or download this
    use warnings NONFATAL =>'utf8'; #disable 
    
    ...
    close $fh;
    
    "use warnings FATAL =>'utf8'"; #enable 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1052262]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2016-12-03 03:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.