Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python write txt utf8

import codecs

file = codecs.open("lol", "w", "utf-8")
file.write(u'ufeff')
file.close()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #write #txt
ADD COMMENT
Topic
Name
4+8 =