Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: files saved in unicode are not being read correctly

by Courage (Parson)
on Jun 30, 2002 at 12:30 UTC ( #178357=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        open(my $fh,'<:utf8', 'anything');
        my $line_of_unicode = <$fh>;
    
        open(my $fh,'<:encoding(Big5)', 'anything');
        my $line_of_unicode = <$fh>;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://178357]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2023-01-28 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?