[Zope] UnicodeEncodeError
Dieter Maurer
dieter at handshake.de
Wed Mar 9 13:32:06 EST 2005
George Tesseris wrote at 2005-3-9 16:14 +0200:
>Dieter Maurer wrote:
>
>>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.
>>
>>
>>
>Which encoding do you mean?
The one mentioned in the "Error Value" text above!
>From where can I change it?
I am not the Oracle of Delphi ;-)
When you look at the associated traceback (you find it in
the "error_log" object in your Zope "Root Folder" (Management Interface)),
you see at least where the exception is raised.
This may give you (or us) a glue to where the "latin-1" comes from.
But, you must post the traceback in order for us to help you --
we do not have the magic power of ancient Greek oracles...
--
Dieter
More information about the Zope
mailing list