Martin Stadler schrieb:

Am 03.04.2009 um 15:39 schrieb Daniel Widerin:

It seems that archetypes is using utf-8 strings and z3c.form is using unicodes. i'm a bit confused...


Sorry, I can't help but read this to find out that your statement is really confused: http://evanjones.ca/python-utf8.html

Martin

sys.getdefaultencoding() was set to ascii. unicode(value) tries to unicode(value, 'ascii') and this fails if value contains 'ö' or 'é' chars.

for me setting default encoding to 'utf-8' solves that problem.

thanks



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to