[z3-five] unicodes and strings in Zope 2.9's ZPT with Zope 3's i18n

Chris Withers chris at simplistix.co.uk
Fri Jul 21 16:57:37 CEST 2006


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 ;-)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the z3-five mailing list