nicolas-raoul/Anki-Android — pull request #61 by PabloRomanH (2011-12-10 18:39:47+00:00)
Title: Fixed can't download media with japanese characters in deck name

Hi Nicolas,
I fixed a bug that for a long time hasn't allowed me to use media in AnkiDroid. I thought it just didn't work, but apparently the problem was that my decks had kanji in their names.
I just extended the encoding of the URL to retrieve the media to also encode what goes before the file name. Hopefully it shouldn't break anything, since I'm not encoding the characters :/@ , which should be the only ones forming part of the protocol and host part of the URL, nor % , which should make it still work for people who might be using pre-escaped URL addresses.