[Zope-DB] Unicode - ISO 8859-1 conversion

Jonas Nielsen jonasn at mail.tele.dk
Fri Jun 2 06:08:09 EDT 2006


I have a MySQL database with text in ISO 8859-1. However Plone displays 
strings in UTF-8.

I am looking for a function to convert between ISO 8859-1 and unicode. 
(I am /not/ looking for a way to change how the strings are stored in 
MySQL or how to change the encoding of an entire html page).

Does anyone know of functions that does this. It doesn't matter if it is 
done in the MySQL queries, from the Plone API or from the Python API ?



More information about the Zope-DB mailing list