Re: Expat and JavaScript
Karl Waclawek <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
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