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

Vadim Zeitlin vadim at wxwindows.org
Sun Dec 3 17:19:21 PST 2006


On Sun, 03 Dec 2006 14:09:38 +0300 Richard Hainsworth <richard at rusrating.ru> wrote:

RH> c) wxHtmlListBox has to be subclassed and the function 
RH> wxHtmlListBox::OnGetItem has to be implemented. Here is the text from 
RH> the online manuals:
...
RH> Note that without <html><body> and hence no <head> tags, there is no way 
RH> to provide <meta> information to the renderer.

 Indeed, there is a problem here. We should either deduce the charset
from the listbox font encoding (which would only allow using the same
charset for all items) or add OnGetEncoding(n) method. In either case
I unfortunately don't see any workaround for this problem right now...

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list