[Zope] unicode support

Garry Saddington garry at schoolteachers.co.uk
Thu Jun 26 10:09:50 EDT 2008


I am using Zope 2.9 connected to a Posgres DB via psycopg. My database encoding is UTF8. 
I am getting the following error when users try to insert text in the database containing £ signs:
ERROR: invalid byte sequence for encoding "UTF8": 0xa3

This is due to the encoding of a £ sign in the text being sent to the DB.
My question then is how do I make sure that all encodings submiitted from forms are in the correct UTF8 format?
Regards
Garry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080626/0e7feb90/attachment.html


More information about the Zope mailing list