[z3-five] Re: Extended characters in forms
Lennart Regebro
regebro at gmail.com
Thu May 12 11:39:32 CEST 2005
On 5/11/05, Lennart Regebro <regebro at gmail.com> wrote:
> This does not work. If you have a character like ä in a form, the
> widgets try to do unicode(input) on it and you get a
> UnicodeDecodeError, 'ascii' codec can't decode byte 0xe5 in position
> 0: ordinal not in range(128).
>
> How to fix?
No-one?
So far I have three ideas, none of the good:
1. Force people to change the default encoing in site.py.
2. Monkey-patch Zope3 to stop it from converting everything to unicode.
3. Do some magic so everything in these forms is converted to unicode
with the charset encoding in the for request.
--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
More information about the z3-five
mailing list