How would I urlencode the following? What I am currently doing throws a KeyError
.
episode_title = 'ザ・ロック(日本語吹替版)'
try:
qs = urllib.quote(episode_title)
except:
qs = urllib.quote(episode_title.encode('utf8'))
Traceback (most recent call last):
KeyError: u'\u30b6'