>I struggled also quite a bit until I've seen there are XMLString routines >in xercesc/util/XMLString.hpp
Yes, you are right there is static methods in XMLString which are usefull to do what I want..
But my question was, does everyone write a class which encapsulate XMLCh* string ? Because using only XMLString routine is not the easiest way to code I know, I seem to be back in the past when I was not using the STL and only char*... Or maybe this kind of class is planned for next releases of Xerces....
> If you want to > serialize XMLCh and view you either need an editor that will > understand > UTF8/16 or transcode to your local code page.
I don't want to view my string, I just want to compare and manipulate it with a simple interface...
And of course I want the character good serialized in my XML output....
At 09:58 24/03/04 +0000, you wrote:
Hi,
> What I did to serialize a string containing unicode (such that it can be > saved to a text file that can be interpreted with notepad using UTF-8) > was to create a text node and serialize that using the Xerces serializer. >
Does notepad support UTF 8 now? Or are you saying that you transcode to UTF 8 and it works because you only use the latin part of the alphabet?
Gareth
-- Gareth Reakes, Managing Director +44-1865-811184 Parthenon Computing http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]