[Zope3-Users] z3c.form, german umlauts on buttons - small patch,
please review
Andreas Reuleaux
reuleaux at web.de
Tue Sep 11 16:23:19 EDT 2007
This small patch fixes the problem for me, please review:
reuleaux at softland(~/tmp/z3c.form/src/z3c/form)$ svn diff
Index: util.py
===================================================================
--- util.py (Revision 79574)
+++ util.py (Arbeitskopie)
@@ -30,7 +30,7 @@
def createId(name):
if _identifier.match(name):
return str(name).lower()
- return name.encode('hex')
+ return name.encode('utf8').encode('hex')
classTypes = type, types.ClassType
reuleaux at softland(~/tmp/z3c.form/src/z3c/form)$
-Andreas
More information about the Zope3-users
mailing list