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

Julian Smart julian at anthemion.co.uk
Mon Dec 4 08:44:56 PST 2006


Hi Richard,

Thanks for the info - but I still think you're compiling in ANSI 
(somehow) because I truly don't believe the offending wxLogError call 
can be invoked in Unicode builds. The evidence for this is very plain 
from the wxWidgets source.

If you are doing wxWidgets development, then you should be using debug 
builds for your development, and using a debugger. Otherwise comments 
from wx-users are of limited value if you can't step through wxWidgets 
(and your own) code. It's very easy to build a debug version of 
wxWidgets, and to test a sample, using configure, e.g.

# wx is your wxWidgets source hierarchy
cd wx
mkdir build
cd build
../configure --enable-debug --with-gtk --enable-unicode
cd samples/htlbox
make
./htlbox

Thanks,

Julian





More information about the wx-users mailing list