[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Test failures with Python 3 (Re: PMCs: any Hackathon requests? (deadline 11 October))

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Fri, 11 Oct 2019 16:50:39 -0400

On Fri, Oct 11, 2019 at 4:32 PM Yasuhito FUTATSUKI <futatuki_at_poem.co.jp> wrote:
> This is caused by mixing bytes object drived from file contents and str
> object to construct log message.

Does something like this answer help:

https://stackoverflow.com/questions/31058055/how-do-i-convert-a-python-3-byte-string-variable-into-a-regular-string/31060836

Something like:
str(bytes_string, 'utf-8')
Received on 2019-10-11 22:50:59 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.