Re: [Zope3-Users] z3c.form, german umlauts on buttons - small patch, please review

2007-11-11 Thread Stephan Richter
On Tuesday 11 September 2007, Andreas Reuleaux wrote:
> This small patch fixes the problem for me, please review:

Thanks. I applied the patch in trunk.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] z3c.form, german umlauts on buttons - small patch, please review

2007-09-11 Thread Andreas Reuleaux
This small patch fixes the problem for me, please review:



[EMAIL PROTECTED](~/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
[EMAIL PROTECTED](~/tmp/z3c.form/src/z3c/form)$



-Andreas
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users