[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7879 - trunk/gnue-navigator/src
From: |
dimas |
Subject: |
[gnue] r7879 - trunk/gnue-navigator/src |
Date: |
Thu, 25 Aug 2005 04:13:09 -0500 (CDT) |
Author: dimas
Date: 2005-08-25 04:13:08 -0500 (Thu, 25 Aug 2005)
New Revision: 7879
Modified:
trunk/gnue-navigator/src/UIgtk2.py
Log:
Setting charset encoding for html stream
Modified: trunk/gnue-navigator/src/UIgtk2.py
===================================================================
--- trunk/gnue-navigator/src/UIgtk2.py 2005-08-24 13:48:46 UTC (rev 7878)
+++ trunk/gnue-navigator/src/UIgtk2.py 2005-08-25 09:13:08 UTC (rev 7879)
@@ -431,6 +431,8 @@
@param contenttype: type of the contents, e.g. 'text/html'
@param stream: string with the actual data
"""
+ stream = '''<html><head><meta http-equiv="Content-Type"
content="text/html; charset=utf8">
+ </head><body>%s</body></html>''' % stream
self.document.clear ()
self.document.open_stream (contenttype)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7879 - trunk/gnue-navigator/src,
dimas <=