Why do all that? If XMLCh is not a typedef for wchar_t on your platform just cast the string to wchar_t*. Or am I missing some subtlety?
>-----Original Message----- >From: Andre Stock [mailto:[EMAIL PROTECTED] >Sent: 21 June 2004 10:50 >To: [EMAIL PROTECTED] >Subject: Re: How to transcode an unicode stream > >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! >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]
