Better yet, since you likely incorporated ICU into the build of Xerces, just use ICU to do this. Take a look in "icu\include\unicode\ustdio.h".
At 08:10 AM 6/13/2002 -0400, you wrote: >The problem is probably that you're getting a wide character string back >from getValue(), but you're treating it as a string of single-byte >characters. You have one or two choices: >- transcode the string from wide characters to single-byte characters before >printing it ... or to clarify: more specifically transcode it to the local code page. Again using ICU. >- if your system supports it, use the appropriate printf flag to specify >that the string is made up of wide characters (with MSVC on Windows, use >"%S" instead of "%s") > >-----Original Message----- >From: Markku Pirila [mailto:[EMAIL PROTECTED]] >Sent: Thursday, June 13, 2002 8:02 AM >To: [EMAIL PROTECTED] >Subject: RE: getting attribute values --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
