[Zope] UnicodeEncodeError

Dieter Maurer dieter at handshake.de
Mon Mar 7 14:07:41 EST 2005


George Tesseris wrote at 2005-3-7 17:37 +0200:
>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)

You are using the wrong encoding -- "latin-1" is not adequate
for Greek letters.

-- 
Dieter


More information about the Zope mailing list