Re: Encode utf-16 problem

2002-12-02 Thread Dan Kogai
On Tuesday, Dec 3, 2002, at 11:24 Asia/Tokyo, Dan Kogai wrote: Aw. You can't use 'utf16' for "use encoding" or PerlIO. You have to specify the endianness. Because of the BOM mark you can't use it for PerlIO stream. Hmm Even with endianness strictly set PerlIO still warns w/ partial char

Re: Encode utf-16 problem

2002-12-02 Thread Dan Kogai
On Tuesday, Dec 3, 2002, at 11:12 Asia/Tokyo, Jarkko Hietaniemi wrote: Why the 'Partial character' warnings? I would have though the input files are just right. Also, the warnings are given to stderr unconditionally, I would have to redirect stderr to /dev/null to get rid of the warnings. $ per