Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: How to read a Unicode file?

by ibanix (Hermit)
on Jan 24, 2004 at 00:05 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-03-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found