Re: Char & Java implementation

MURATA Makoto (murata@apsdc.ksp.fujixerox.co.jp)
Thu, 05 Mar 1998 21:27:28 +0900


In message "Re: Char & Java implementation", Richard Tobin wrote...
> I think, but I'm not certain, that this encoding only applies to UTF-16
> and not UCS-2 (which would mean that the surrogate characters are an
> error if encountered in a UCS-2 stream). Can anyone confirm/deny this?

You are right. Surrogate pairs are not available in UCS-2.

In message "Re: Char & Java implementation", Richard Tobin wrote...
> Since none of the characters above FFFF are name characters, they are
> irrelevant to the syntax of XML, and you don't need to convert the
> pairs of "surrogates" into the characters they represent - you can
> just pass them through to the application.

Currently, yes. But probably we will need name characters above #xFFFF
in a few years.

[Thu, 05 Mar 1998 21:24:20 +0900]

Makoto

Fuji Xerox Information Systems

Tel: +81-44-812-7230 Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp