perl-unicode

Re: Encode utf-16 problem

2003-01-06 04:30:04
Dan Kogai <dankogai(_at_)dan(_dot_)co(_dot_)jp> writes:
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 
character warning.  Should I mark all UTF as non-PerlIO-savvy (at least 
BOMless ones should be done so).  Since Partial Character warnings are 
handled by PerlIO::encoding, it takes NI-XS to fix the prob....

The partial char stuff needs the encoding to use same rules as Encode::XS 
will take a look if it isn't fixed yet.



Dan the Encode Maintainer
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Encode utf-16 problem, Nick Ing-Simmons <=