Error: Failed to display HTML document in ISO-8859-1 encoding

Julian Smart julian at anthemion.co.uk
Mon Dec 4 02:58:51 PST 2006


Vadim Zeitlin wrote:
> On Mon, 04 Dec 2006 08:28:11 +0000 Julian Smart <julian at anthemion.co.uk> wrote:
>
> JS> wxWidgets source tree, you could try calling SetEncoding with 
> JS> wxFONTENCODING_ISO8859_5. See:
>
>  Just for the record, ISO8859-5 is never used for Cyrillic. Historically
> the most common Cyrillic encoding on the web was KOI-8R, although
> DOS/Windows CP866/1251 are heavily used as well. And now UTF-8 is also
> used a lot, of course, as for all the other languages.
>   
My guess from grepping the headers was wrong...

BTW I've removed the SetEncoding call I added earlier and replaced it 
with code to use the curret font encoding as the default HTML parser 
encoding, so hopefully all you need to do is set an appropriate font for 
the HTML listbox. Or compile in Unicode mode :-)

Regards,

Julian




More information about the wx-users mailing list