[Zope] unicodedecoderror in page templates

Andreas Jung lists at zopyx.com
Sun May 20 08:28:02 EDT 2007



--On 20. Mai 2007 14:20:38 +0200 Einar Næss Jensen 
<einar.nass.jensen at gmail.com> wrote:

> When I get errors like:
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2940:
> ordinal not in range(128)
> how can I locate the character which causes the error?
> In particular: where is the position (2940 in the example)?
>

First you must provide the *full* traceback.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070520/0c6f3ffa/attachment.bin


More information about the Zope mailing list