SAX/C++: UTF-8 v UTF-16
James Clark
jjc at jclark.com
Fri Dec 3 12:36:08 GMT 1999
Richard Anderson wrote:
> > If you feel that one needs to be mandated, I would pick UTF-16.
>
> I second that. The Vivid Creation SAX interfaces
> http://www.vivid-creations.com/free/sax.h ) have been UTF-16 from day 1
> around 16 months ago ) and to date they've had nothing but positive
> feedback. I'd therefore make everything wchar_t and not char.
Unfortunately wchar_t isn't guaranteed to be UTF-16. Some platforms
make it 32-bits. However, I agree it's a good idea for SAXChar to be
typedefed to wchar_t on platforms where wchar_t is UTF-16.
James
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list