Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

UnicodeDecodeError: ‘utf8’ codec can’t decode byte

# In case of JSON
json.loads(unicode(opener.open(...), "ISO-8859-1"))
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #codec #decode #byte
ADD COMMENT
Topic
Name
4+1 =