Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2014-09-15 05:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls