Bart Schuller writes:
> 
> On Fri, Feb 04, 2000 at 09:21:04AM -0800, Tim Bray wrote:
> > It should be noted that over in Java-land, UTF-16 is more or less the
> > native dialect, and UTF-8 is a royal pain in the butt to deal with.  Sigh.
> 
> I was just reading up on the Java Native Interface and there they don't
> talk about UTF-16, but only about their own version of UTF-8 (sigh).

But this format looks compatible with Perl's input (which does not
check that utf8 data has "minimal possible" encoding).

On output one needs some equivalent of

  { use byte; s/\0/\x80\xc0/g; }


Ilya

Reply via email to