On Sat, 8 Apr 2006 23:21:53 +0200 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
VZ> NB> How to set it? I changed wxMDialogs.cpp line 1090 to be: VZ> NB> VZ> NB> pageHtmlText << _T("<head><meta http-equiv=Content-Type content=\"text/html; charset=UTF-8\"></head>" VZ> NB> "<body text=#000000 bgcolor=#ffffff>" VZ> NB> "<font face=\"Times New Roman,times\">" VZ> NB> VZ> NB> I still get the same message - Failed to display HTML document in ISO-8859-1 encoding. VZ> NB> Tried to add <html> before <head>, didn't help. VZ> NB> VZ> NB> I see there is HTML_Handler_META: wxHTML handler for the <meta> tag VZ> NB> in HtmlViewer.cpp, should I do it like this? VZ> VZ> Yes, I think it's the only way. I cannot use UTF-8, or I should have UTF-8 in M source code I assume, as I get "Invalid UTF-8 string in wxConvertToGTK()", but using <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html;charset=windows-1257\"> works. Can you please check if it works in Windows? Regards, Nerijus ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mahogany-Developers mailing list Mahogany-Developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mahogany-developers