OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX/C++: UTF-8 v UTF-16

[ Lists Home | Date Index | Thread Index ]
  • From: Steinar Bang <sb@metis.no>
  • To: xml-dev@ic.ac.uk
  • Date: 03 Dec 1999 14:07:32 +0100

>>>>> James Clark <jjc@jclark.com>:

> 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.

Yep!  So I've heard.

Do you have a list of the ones that does this?

> However, I agree it's a good idea for SAXChar to be typedefed to
> wchar_t on platforms where wchar_t is UTF-16.

Hm... should we also to a
	typedef basic_string<SAXChar> SAXstring;
(needs a better name, I lowercased the "s" in "string" to differ it
from SAXString)?

(pf course, then we would probably need SAXChar char_traits<> of some
sorts as well...)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS