[Expat-discuss] expat/unicode question

Arkadiy Vertleyb vertleyb at gmail.com
Thu Aug 26 16:22:06 CEST 2010


Hi all,

I am confused whith the way unicode and regular XML documents should
be used with expat:

- Is it possible to process wide char (unicode) docs when expat is
compiled in single-byte char mode (typedef char XML_Char)?

- Is it possible to process regular docs when expat is compiled in
wide char mode (typedef wchar_t XML_Char)?

- Why the XML_Parse() function accepts the buffer as const char*
rather than const XML_Char*?  Does this mean yes for the first two
questions?

Thanks in advance for any help.


More information about the Expat-discuss mailing list