aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-10 12:34:34 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-10 12:34:34 -0400
commita24623827ffb3c715926130fc983e0b5cb7452e1 (patch)
tree29eaf7cc1a80d5941daad0c54a19c8058ab2606a /debian
parentf790ba917617065b9059817b3f1fbc6853ea5b76 (diff)
bittorrent: Fix mojibake introduced in parsing arai2c progress output.
hGetSomeString reads one byte at a time, so unicode bytes are not composed. The problem comes when outputting that to the console with hPut; that tried to apply the handle's encoding, and so we get mojibake. Instead, use ByteStrings, and only convert it to a string for parsing, not for display. Note that there are a couple of other things that use hGetSomeString, which I've left as-is for now.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f47ae7f44..f763ecac2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ git-annex (5.20150206) UNRELEASED; urgency=medium
* Improve race recovery code when committing to git-annex branch.
* addurl: Avoid crash if quvi is not installed, when git-annex was
built with process-1.2
+ * bittorrent: Fix mojibake introduced in parsing arai2c progress output.
-- Joey Hess <id@joeyh.name> Fri, 06 Feb 2015 13:57:08 -0400