Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python ufeff

>>> f = open('file', mode='r', encoding='utf-8-sig')
>>> f.read()
'test'

>>> f = open('file', mode='r')
>>> f.read()
'ufefftest'
 
PREVIOUS NEXT
Tagged: #python #ufeff
ADD COMMENT
Topic
Name
5+7 =