reference: https://www.urlencoder.io/python/

>>> import urllib.parse
>>> query = 'Hellö Wörld@Python'
>>> urllib.parse.quote(query)
'Hell%C3%B6%20W%C3%B6rld%40Python'

0 Comments

Leave a Reply

Your email address will not be published.