kartikanand / wikilooper

Wikilooper web version
MIT License
13 stars 1 forks source link

Fix issue kartikanand/wikilooper#3 #5

Closed mcpower closed 9 years ago

mcpower commented 9 years ago

Please check whether this works. This is a much better solution than the one I mentioned in the issue.

kartikanand commented 9 years ago

I've merged your changes. But for full support the following needs to be done. With the following change there is no need to check unsupported unicode characters. (But it'll break Python 3 support)

args = urllib.unquote(args).encode('latin1').decode('utf-8')

Check this link for why: (Answers your question why args is a Unicode) http://bugs.python.org/issue8136