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

Vaclav Slavik vslavik at fastmail.fm
Sun Dec 3 02:56:06 PST 2006


Richard Hainsworth wrote:
> I get this error everywhere I try to use wxHtml. I cant find how to
> turn the error off or to change the default encoding.

Using <meta> elements.

> The problem came up when trying to use wxHtmlListBox and I want to
> use Cyrillic characters. First I get the warning, but the rendering
> is correct. In other words, I get a completely useless warning that

The warning is not useless, but tells you about an actual problem -- 
which is more likely that not your fault. You don't bother to provide 
any details about what HTML code exactly fails, so it's impossible to 
tell you what's wrong with it with certainty, but my guess is that 
you simply didn't declare charset information in your HTML's metadata 
tags -- in which case iso-8859-1 is used for consistency with HTTP 
standard.

Regards,
Vaclav

-- 
PGP key: 0x465264C9, available from http://pgp.mit.edu/




More information about the wx-users mailing list