Do i have to use icu or is there any function to call transforming an wchar_t array to local codepage and vice versa? I thought to transcode the unicode stream to local codepage, call the parser with this local stream and then transcode for example the found elementname back into a wchar_t* in the startElement function of my Handler. Is this possible? Need help!
Xerces has a version of XMLString::transcode that goes from XMLCh* to const char* and another one that goes from const char* to XMLCh*.
Also, on Windows, XMLCh* can be treated like a wchar_t*, as they are the same UTF-16 data.
Alberto
THX Andre
> Is it possible to change the typedef of XMLCh* to wchar_t*,so that i can > parse the unicode stream? If this is possible, where can i find the > typedef > of XMLCh*? > > > Hi, > > need to parse a unicode stream (i`m receiving wchar_t*)and print the > > elementnames and corresponding values in unicode again! When i call > > XMLString::transcode the result is transcoded into the local codepage. > Is > > there any other method to call or another way to achieve what i want? > > Thanks in advance! > > Andre > > > > -- > > +++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++ > > GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- > +++ Jetzt WLAN-Router f�r alle DSL-Einsteiger und Wechsler +++ > GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
-- "Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen! Jetzt aktivieren unter http://www.gmx.net/info
--------------------------------------------------------------------- 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]
