[z3-five] Re: Extended characters in forms
yuppie
y.2005- at wcm-solutions.de
Fri May 27 09:40:16 CEST 2005
Philipp von Weitershausen wrote:
> Lennart Regebro wrote:
>
>> 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.
>
>
> After finally having found some time to look at the issue myself, I have
> to add to this discussion:
>
> * None of the three points above provide a sensible solution.
>
[...]
> My suggestion is we re-implement the text widgets by subclassing the
> original ones and override the methods that do the unicode() conversion
> to do sane unicode decoding. [...]
I still don't understand what's wrong with #3 (converting the form data
in EditView). Reimplementing the text widgets sounds like overkill.
Cheers, Yuppie
More information about the z3-five
mailing list