summaryrefslogtreecommitdiff
path: root/doc/bugs/aria2c_display_broken_in_git-annex
Commit message (Collapse)AuthorAge
* Added a commentGravatar anarcat2015-02-10
|
* bittorrent: Fix mojibake introduced in parsing arai2c progress output.Gravatar Joey Hess2015-02-10
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.