Answer the question
In order to leave comments, you need to log in
How to work with encodings in Python?
Task: load json from a file, process the data and save it to another file in json format.
Script and data encoding utf8. # -*- coding: utf-8 -*-
How to stop writing this? print s.encode("utf8")
How to get rid of these errors:
UnicodeDecodeError: 'ascii' codec can't decode byte
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question