[Expat-discuss] Expat and JavaScript
Franky Braem
franky.braem at gmail.com
Sat Aug 5 19:40:05 CEST 2006
Karl Waclawek wrote:
> 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
>
wchar_t is 2 bytes.
More information about the Expat-discuss
mailing list