3 ms·
tl;dr: $ python >>> print u"\u2019".encode("utf-8").decode("Windows-1252")
by js2 15y ago
tl;dr:
$ python
>>> print u"\u2019".encode("utf-8").decode("Windows-1252")
- Luyt 15y agoAlso interesting, the Unicode Nazi: http://pypi.python.org/pypi/unicode-nazi