Request for Discussion: SAX 1.0 in C++

Steinar Bang sb at
Wed Dec 22 07:58:46 GMT 1999

>>>>> Steve Harris <sharris at>:

> This UTF-8/UTF-16 representation translation seems like a job for
> Standard C++'s <locale>/codecvt facility, not something to be
> embedded in a string class.

Well, maybe... if the C++ standardarization commitee hadn't dropped
the ball on sizeof(wchar_t)...:-/

I fear that this will make the entire std::wstring stuff unusable for
multiplatform development.

In any case it's not available as an option for me at this point.

My current platforms are gcc/linux and MSVC++/Win32.  gcc doesn't have
locale yet (I am on the mailing list for libstdc++-v3, so there is no
need to inform me of this work).  The MSVC++ Standard C++ Library
support is seriously broken in a multitude of ways, so we're getting
support for the parts of the library that we use, from Objectspace
Standards<ToolKit>, which doesn't support the locale stuff or
templatized streams.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as: and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list