[MERGE] UTF-8 encoding in binary diffs

Alexander Belchenko bialix at ukr.net
Mon Jul 9 11:56:18 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan Lange пишет:
> On 7/7/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
[...]
> Changed.
> 
> After making this change, I noticed that '=== added' and friends print
> the repr() of the filename, not the str(). This means that users would
> see "=== added file '\xce\xb1'" instead of "=== added file 'α'".
> 
> I've changed it to use %s instead of %r.

I think it should be utf-8 encoded, not just %s.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGkhRSzYr338mxwCURAgEuAJ4wMcrWAS2KWt3WxV+m9/DlfXsjwACfRRXY
yNVT45WmJJRkR+gSCCB9ahQ=
=QzRh
-----END PGP SIGNATURE-----



More information about the bazaar mailing list