C:\>perl -we "binmode(STDOUT, ':crlf'); binmode(STDOUT, ':encoding(UTF-16)'); map { print $_ . \"\n\" } @ARGV;" foo bar baz > 1.txt
- [perl #36659] UTF-16 endianess switch after line break via RT
- Re: [perl #36659] UTF-16 endianess switch after line b... Dominic Dunlop
- Re: [perl #36659] UTF-16 endianess switch after line b... Jeremias Reith