Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/activity/activity.info
diff options
authorGonzalo Odiard <godiard@sugarlabs.org>2010-11-25 06:11:48 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2010-11-25 06:11:48 (GMT)
commit6c3c6a0cce460f1560a597b9d02d6284a156c13d (patch)
tree2af6f192080c986119231f1744b590b07358c9c5 /activity/activity.info
parentf06c67a768a234d5c21243d40835d929bc0b30de (diff)
Don't choke when downloading a URL containing non-UTF-8 characters (OLPC#8857)
A URL can contain arbitrary characters; there's no guarantee they are encoded using UTF-8. Using the encoding of the page that contains the URL is as good a guess as any. Instead of throwing an exception and failing to download the file, we will now record a "garbled" file name in the Journal if there's an encoding mismatch.
Diffstat (limited to 'activity/activity.info')
0 files changed, 0 insertions, 0 deletions