[Zope] UnicodeEncodeError

Vangelis Mihalopoulos mihalop at VTrip.NET
Mon Mar 7 10:41:01 EST 2005


Use "ustring" as the Property type.

George Tesseris wrote:

> When I add new property
>
> Name - on English
> Type - String
> Value - on Greek (encoding "Unicode('UTF8')")
>
> I get this error message:
>
> Error Type: UnicodeEncodeError
> Error Value: 'latin-1' codec can't encode characters in position 0-2: 
> ordinal not in range(256)
>
> Any solutions?
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )



More information about the Zope mailing list