[wxPython-users] Failed to display HTML document in ISO-8859-1
encoding
Anthony Wiese
ant at dogmelon.com.au
Sun Sep 3 22:36:09 PDT 2006
Hi Milos,
It looks like you're trying to send non ISO-8859-1 characters to your HTML
control, which is trying to convert it. Either you can strip out any
offending characters, or else you probably need to change your html header.
If you make sure that when you set the contents of your HTML window to
include an html header which contains:
<head>
....
<meta http-equiv="Content-Type" content="text/html; charset=XXXXXXXXX">
<title>...</title>
</head>
with your charset modified to a suitable encoding, it should work. At least,
that's how I got it to work on my system.
Hope that helps,
Ant
On Mon, 4 Sep 2006 01:40:17 +0100, Milos Negovanovic wrote:
> Hi all,
>
> I am getting this error with wx.html.HtmlWindow. Is there any
> workaround to this? I am using 2.6.3.3 on NetBSD.
>
> Regards
> Milos
>
> --------------------------------------------------------------------
> - To unsubscribe, e-mail: wxPython-users-
> unsubscribe at lists.wxwidgets.org For additional commands, e-mail:
> wxPython-users-help at lists.wxwidgets.org
More information about the wxpython-users
mailing list