Thread
:
[GUI Plugin] Search the Internet
View Single Post
08-24-2011, 12:46 PM
#
114
kovidgoyal
creator of calibre
Posts: 45,497
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
URLS are supposed to have all non ascii chars encoded as UTF-8 and then percent encoded, see
RFC 3986
For example:
urllib.quote(u'\xe1'.encode('utf-8'))
'%C3%A1'
repr(u'\xe1'.encode('utf-8'))
'\xc3\xa1'
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS