Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: How to read a Unicode file?

by ibanix (Hermit)
on Jan 24, 2004 at 00:05 UTC ( #323742=note: print w/replies, xml ) Need Help??


in reply to Re: How to read a Unicode file?
in thread How to read a Unicode file?

Thanks for the UTF-16 tip. I found that

open(FILE, "<:encoding(UTF-16LE)", $file)

did the magic for me.

$ echo '$0 & $0 &' > foo; chmod a+x foo; foo;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2022-08-10 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?