On Tuesday 21 March 2006 20:39, José Ernesto Guzmán Villeda wrote: > The point is that I use Latin American encoding, as I manage data in > Spanish, you know we have some characters such as ñ and "´á,é,í,ó,ú". I´m > getting an ascii error because when I make a query in my data base, as some > information stored there have those characters, when I try to display that > info in a zpt file, it seems that it can´t be decoded in order to be > displayed in zpt.
Whenever you read data from a data source you *must* convert it to unicode. We are not guaranteeing anything when the text data is not unicode. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users