[PATCH] pwclient: do proper utf-8 encoding of all RPC responses

Stephen Finucane stephen at that.guru
Wed Mar 22 08:29:12 AEDT 2017


On Mon, 2017-03-13 at 22:19 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

This needed to a bit of work to apply to upstream, but it breaks on
Python 3 where 'unicode' isn't a defined symbol. Defining 'unicode =
str' results in all files being printed with a 'b' prefix, as expected
given that they're binary strings.

I think this will need a little more work before we can merge it.

Stephen

> ---
> Note that I haven't properly tested the change in the delegate
> printing,
> because the ozlabs patchwork instance seems to barf on delegate
> requests.
> I did, however, test that the bit that I modified still works
> correctly.


More information about the Patchwork mailing list