On Sun, 29 Dec 2002 11:59:40 -0500
Daniel Barclay <[EMAIL PROTECTED]> wrote:

> 
> I thought that the reason Java modified the representation of NUL was
> so that Java strings containing NUL characters could be passed (via 
> JNI) to native code as regular C (NUL-terminated) strings.

So then you could have "non null terminated null terminated strings"?
Its just a trick to sneak embedded nulls into a utf-8 null terminated
string?...

if you want to have embedded nulls in a string, its probably better
not to use null-termination than to use overcoded utf-8. This probably
represents some internal work-around for backwards compatibility,
and is not a real external encoding.
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to