how to read unicode in python

Solutions on MaxInterview for how to read unicode in python by the best coders in the world

showing results for - "how to read unicode in python"
Jonas
21 Jan 2019
1import codecs
2with codecs.open('unicode.rst', encoding='utf-8') as f:
3    for line in f:
4        print repr(line)