encoding problem
Yves Glodt
y.glodt at sitasoftware.lu
Fri Mar 3 06:26:14 EST 2006
Hi list,
Playing with the great pysvn I get this problem:
Traceback (most recent call last):
File "D:\avn\mail.py", line 80, in ?
mailbody += diff
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position
10710: ordinal not in range(128)
It seems the pysvn.client.diff function returns "bytes" (as I read in
the changelog of pysvn: http://svn.haxx.se/dev/archive-2005-10/0466.shtml)
How can I convert this string so that I can contatenate it to my
"regular" string?
Best regards,
Yves
More information about the Python-list
mailing list