in reply to Reading an Unicode File
If the file is using some other encoding, you need to set the input record separator to the proper byte sequence, and also use binmode.
In Perl 5.8, there is built-in support for reading files in other encodings. You can use the extended open syntax to specify, and all should work fine without further intervention.
—John
|
|---|