commit-gnue
[Top][All Lists]
Advanced

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

r5174 - trunk/gnue-common/src/formatting


From: jan
Subject: r5174 - trunk/gnue-common/src/formatting
Date: Fri, 27 Feb 2004 03:27:18 -0600 (CST)

Author: jan
Date: 2004-02-27 03:27:17 -0600 (Fri, 27 Feb 2004)
New Revision: 5174

Modified:
   trunk/gnue-common/src/formatting/GTypecast.py
Log:
change to output unicode on unicode input for name too


Modified: trunk/gnue-common/src/formatting/GTypecast.py
===================================================================
--- trunk/gnue-common/src/formatting/GTypecast.py       2004-02-26 21:21:18 UTC 
(rev 5173)
+++ trunk/gnue-common/src/formatting/GTypecast.py       2004-02-27 09:27:17 UTC 
(rev 5174)
@@ -66,7 +66,7 @@
   # TODO: name should make sure the string
   # TODO: containts only valid characters.
   if isinstance (value, UnicodeType):
-    rv = value.encode ('utf-8')
+    rv = unicode (value)
   else:
     rv = str (value)
   return string.strip (rv)





reply via email to

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