[Expat-discuss] UTF-16

Ajith Kumar r_ajith_kumar_1975 at yahoo.co.in
Fri Feb 28 04:51:40 EST 2003


hello,
       I have an UTF-16 XML file saved as UTF-16. My
application in VC++ reads the file into a wchar_t*
buffer(UNICODE, XML_UNICODE_WCHAR_T macros r defined).
However the XML parser() fn takes a const char * ptr
to the buffer. How can I supply my whcar_t* buffer to
char * buffer. I tried typecasting, but the parsing
failed. Any solutions?

regards,
ajith

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com



More information about the Expat-discuss mailing list