[Expat-discuss] Always reports utf-8 encoding?

Karl Waclawek karl at waclawek.net
Sat Sep 30 05:23:44 CEST 2006


Franky Braem wrote:
> Karl Waclawek wrote:
>> Maybe you can post a small self-contained example program that shows 
>> the problem.
>>
>> Karl
>>
> The following is a small example:
<snip>

Seems this is just how the debugger processes and displays it - trying 
to be smart.
You can assign a value > 255 to a buffer element (array of XML_Char), 
which means
XML_Char has more than one byte.

Btw, defining XML_UNICODE and not XML_UNICODE_WCHAR_T will typedef
XML_Char as ushort, not as wchar_t.

Karl


More information about the Expat-discuss mailing list