I want to convert in Python 2.7 string like
"€", "ż"
and similar to UTF-8 string.
How to do it?
Asked
Active
Viewed 67 times
0
1 Answers
1
Python3
>>> import html
>>> html.unescape('©')
'©'
>>> html.unescape('€')
'€'
>>> html.unescape('ż')
'ż'
It's in html module in python.
Charanjit Singh
- 593
- 4
- 20