Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Re: UnicodeDecodeError getting revision log with Python

subversion
Discussion topic

Back to topic list

Re: UnicodeDecodeError getting revision log with Python

Author julianfoad
Full name Julian Foad
Date 2009-05-28 15:17:00 PDT
Message On Thu, 2009-05-28 at 10:47 -0700, Jack Bates wrote:
> > Jack Bates wrote:
> > > A script we use for XMPP commit notification occasionally complains,
> > >
> > > [...]
> > > exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
> > > position 21: ordinal not in range(128)
> >
> > Google(python UnicodeDecodeError ordinal) returns
> > <http://www.xinotes.o​rg/notes/note/391/​>. Does that help?
>
> Thanks Julian, if I understand correctly, svn.fs.revision_prop() returns
> a bytestring and I need to know the encoding of the bytestring to decode
> it to a unicode object?
>
> Is there something in the Subversion Python bindings to return a decoded
> unicode object instead of a bytestring?

Sorry, I don't know any more than I found on that web site.

- Julian

« Previous message in topic | 4 of 8 | Next message in topic »

Messages

Show all messages in topic

UnicodeDecodeError getting revision log with Python jablko Jack Bates 2009-05-26 16:28:48 PDT
     Re: UnicodeDecodeError getting revision log with Python julianfoad Julian Foad 2009-05-27 03:44:14 PDT
     Re: UnicodeDecodeError getting revision log with Python jablko Jack Bates 2009-05-28 14:34:19 PDT
         Re: UnicodeDecodeError getting revision log with Python julianfoad Julian Foad 2009-05-28 15:17:00 PDT
         Re: UnicodeDecodeError getting revision log with Python David James <james82 at gmail dot com> David James <james82 at gmail dot com> 2009-05-28 15:58:49 PDT
             Re: UnicodeDecodeError getting revision log with Python Daniel Shahaf <d dot s at daniel dot shahaf dot name> Daniel Shahaf <d dot s at daniel dot shahaf dot name> 2009-05-28 22:11:18 PDT
     Re: UnicodeDecodeError getting revision log with Python jablko Jack Bates 2009-06-01 09:44:44 PDT
         Re: UnicodeDecodeError getting revision log with Python cmpilato C. Michael Pilato 2009-06-01 10:01:10 PDT
Messages per page: