commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6662 - trunk/gnue-reports/src/client


From: johannes
Subject: r6662 - trunk/gnue-reports/src/client
Date: Tue, 9 Nov 2004 08:00:28 -0600 (CST)

Author: johannes
Date: 2004-11-09 08:00:28 -0600 (Tue, 09 Nov 2004)
New Revision: 6662

Modified:
   trunk/gnue-reports/src/client/GRRunUI.py
Log:
Make the forms-code utf-8 encoded so it'll work on wx too


Modified: trunk/gnue-reports/src/client/GRRunUI.py
===================================================================
--- trunk/gnue-reports/src/client/GRRunUI.py    2004-11-09 13:21:47 UTC (rev 
6661)
+++ trunk/gnue-reports/src/client/GRRunUI.py    2004-11-09 14:00:28 UTC (rev 
6662)
@@ -240,8 +240,10 @@
     code.append ("</form>")
 
     # Prepare a buffer with the form's code and set it's position to the start
+    stream = string.join (code, "\n")
+
     result = StringIO.StringIO ()
-    result.writelines (code)
+    result.write (stream.encode ('utf-8'))
     result.seek (0, 0)
 
     return result





reply via email to

[Prev in Thread] Current Thread [Next in Thread]