Author: btami
Date: 2005-08-25 08:23:21 -0500 (Thu, 25 Aug 2005)
New Revision: 7880

Modified:
   trunk/gnue-navigator/src/UIwin32.py
Log:
possible fix for html descriptions encoding problem

Modified: trunk/gnue-navigator/src/UIwin32.py
===================================================================
--- trunk/gnue-navigator/src/UIwin32.py 2005-08-25 09:13:08 UTC (rev 7879)
+++ trunk/gnue-navigator/src/UIwin32.py 2005-08-25 13:23:21 UTC (rev 7880)
@@ -213,7 +213,7 @@
 #          self.tempfileHandle.write("<html\n>")
           self.tempfileHandle.write(u"<html><head><meta 
http-equiv='Content-Type' \
                    content='text/html; charset=utf8'></head><body>")
-          self.tempfileHandle.write(content.encode('utf8'))
+          
self.tempfileHandle.write(content.encode(gConfig('textEncoding'),'replace'))
           self.tempfileHandle.write(u"</body></html>")
           self.tempfileHandle.flush()
           self.browser.ocx.Refresh()



_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to