[Expat-discuss] Expat and JavaScript
Karl Waclawek
karl at waclawek.net
Thu Aug 3 16:08:01 CEST 2006
Franky Braem wrote:
> Karl Waclawek wrote:
>>
>> I know nothing about the wx API, but it seems that maybe you are
>> calling the
>> wxstring constructor with the wrong arguments. "name" is already in
>> UTF-16 encoding,
>> so why pass an instance of wxMBConvUTF16 (Google indicates this is
>> used for converting
>> from UTF-8 to UTF-16)?
>>
> Actually the passed encoding is not used, because wxJS uses wxWidgets
> in unicode. As stated in the wxWidgets manual:
Are you sure that on your platform wchar_t is 2 bytes wide?
Karl
More information about the Expat-discuss
mailing list