Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to read unicode in python

import codecs
with codecs.open('unicode.rst', encoding='utf-8') as f:
    for line in f:
        print repr(line)
 
PREVIOUS NEXT
Tagged: #read #unicode #python
ADD COMMENT
Topic
Name
5+2 =