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;