[z3-five] unicodes and strings in Zope 2.9's ZPT with Zope 3's i18n
Martijn Faassen
faassen at infrae.com
Tue Jul 25 13:14:52 CEST 2006
Chris Withers wrote:
> Chris Withers wrote:
>> All of these suck a lot. Can we really do nothing better?
>
> Well, I actually buckled and put a sitecustomize.py on the python path
> that chanded the default codec from ascii to utf-8.
>
> I feel comfortable enough doing that with this project because I _know_
> we've taken a lot of care to make sure that everything that's stored is
> stored utf-8 encoded.
>
> If you're unlucky enough to have mixed encodings stored in strings,
> paticularly in zodb or relational database, then you're basically fucked ;-)
This is an extremely dangerous option indeed, as it may break libraries
which depend on Python's behavior being differently.
Regards,
Martijn
More information about the z3-five
mailing list