in reply to Converting UTF-16 files to UTF-8
It works for me in 5.8.8. It should work in 5.8.6 too.
>debug in File not found -e100 FF FE 01 14 01 14 01 14 -rcx CX 0000 :8 -w Writing 00008 bytes -q >perl 615796.pl in out >debug out -rcx CX 0009 : -d100 l9 137A:0100 E1 90 81 E1 90 81 E1 90-81 ......... -q
By the way, I've had problems with using :encoding(...) and multi-byte character sets. I recommend :raw:encoding(...), but keep in mind it has the side effect of not adding/removing a CR that preceeds a LF.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Converting UTF-16 files to UTF-8
by almut (Canon) on May 17, 2007 at 11:52 UTC | |
|
Re^2: Converting UTF-16 files to UTF-8
by demerphq (Chancellor) on May 17, 2007 at 11:44 UTC | |
by ikegami (Patriarch) on May 17, 2007 at 15:10 UTC |