wxHtmlWindow: Displaying Japanese
JH Trauntvein
j.trauntvein at comcast.net
Wed Oct 4 14:41:12 PDT 2006
Vadim Zeitlin wrote:
> On 4 Oct 2006 10:49:26 -0700 JH Trauntvein <j.trauntvein at comcast.net> wrote:
>
> JT> I have a non-unicode windows application that uses various HTML windows
> JT> to show messages and other information. I have found that, when
> JT> strings containing Japanese characters are sent to the HTML window via
> JT> SetPage(), the window shows garbled results.
>
> Do you have the correct encoding in the content-type header of your HTML?
>
> Regards,
> VZ
The HTML content that I was pasting in did not have any encoding
specified in the content type header. After tracing around in the
debugger, I have found that, failing to find any content type, the code
assumes a type of ISO8859_1 (english). I would much rather have the
default be given by the current system settings.
Regards,
Jon Trauntvein
More information about the wx-users
mailing list