<URL: https://rt.cpan.org/Ticket/Display.html?id=73623 > On Fri Dec 30 18:49:46 2011, LAWALSH wrote: > On Fri Dec 30 18:44:35 2011, LAWALSH wrote: >> # piconv -f UTF-8 -t UTF-16 <test.out >test2.out >> # cmp test.in test2.out >> test.in test2.out differ: byte 1, line 1 test.out was same size > > Sounds like it might be assuming UTF-16 means BE and not LE? ---- Yup: cmp -l -b test.in test2.out 1 377 M-^? 376 M-~ 2 376 M-~ 377 M-^? 3 127 W 0 ^@ 4 0 ^@ 127 W 5 151 i 0 ^@ ... 671 12 ^J 0 ^@ 672 0 ^@ 134 \ cmp: EOF on test.inThread Previous | Thread Next