Error: Failed to display HTML document in ISO-8859-1 encoding
Julian Smart
julian at anthemion.co.uk
Mon Dec 4 07:22:40 PST 2006
Richard Hainsworth wrote:
> I had picked up the reference to non-unicode builds from other emails
> when researching the error. I checked -
> I AM using a unicode build! And I am still getting the error.
I'm puzzled about that. Can you look at src/html/winpars.cpp and confirm
what I'm seeing - the function SetInputEncoding that contains the only
reference to this error string is within
#if !wxUSE_UNICODE
...
#endif
? I can't see any way that you could get the error if you were building
in Unicode. However, you could put a breakpoint in wxLog::DoLog
(src/common/log.cpp) at the wxLOG_Error branch and then find where you
are in the stack, and what wxHTML function initiated the error. You can
also check the config.log file in your build directory to verify whether
you compiled wxWidgets in Unicode mode.
Regards,
Julian
More information about the wx-users
mailing list