This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: CJK UTF-16 test
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] CJK UTF-16 test
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Thu, 29 Mar 2001 09:55:05 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> XML does NOT support UTF-16 since UTF-16 includes the
> surrogates - that is
> in fact what *distinguishes* it from UCS-2. That the XML 1.0
> spec ('scuse
> me, 'Recommendation') *says* that it requires support for UTF-16 is in
> fact an error in the text since it explicitly forbids surrogates (aka
> UTF-16) in the allowed char range spec.
XML says that a surrogate pair (two UTF-16 code-points) counts as one
character. The only thing it disallows is using one half of a surrogate pair
without the other half.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list