version-info --include-history UnicodeDecodeError (518609)

John Arbash Meinel john at arbash-meinel.com
Sat Apr 3 00:29:30 BST 2010


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

Martin (gzlist) wrote:
> On 02/04/2010, Parth Malwankar <parth.malwankar at gmail.com> wrote:
>> I noticed that message is unicode and based on irc chat with lifeless
>> I understand that message should not be unicode. Sure enough, the
>> patch below fixes the issue.
> 
> I'd say you have it backwards. The console streamwriter expects to be
> given unicode that it can then coerce to the right terminal encoding,
> but Stanza.to_lines has gone and screwed up the plan by making
> everything UTF-8 already. Changing RioWriter.write_stanza or
> Stanza.write looks like the correct fix to me.
> 
Note that we have Stanza.to_unicode()...

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku2fdoACgkQJdeBCYSNAAN8fQCgl0XBvLuABZHdM18Qigh0J9Tx
03UAn3oaMNu08HYHcpUxEaBmIde3rsCi
=4bHj
-----END PGP SIGNATURE-----



More information about the bazaar mailing list