encoding problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yves Glodt

    #1

    encoding problem

    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
    UnicodeDecodeEr ror: 'ascii' codec can't decode byte 0xe9 in position
    10710: ordinal not in range(128)



    It seems the pysvn.client.di ff 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
Working...