I want to read a JSON file containing Cyrillic symbols.
The Cyrillic symbols are represented like \u123
.
Python converts them to '\\u123'
instead of the Cyrillic symbol.
For example, the string "\u0420\u0435\u0433\u0438\u043e\u043d"
should become "Регион"
, but becomes "\\u0420\\u0435\\u0433\\u0438\\u043e\\u043d"
.
encode()
just makes string look like u"..."
or adds a new \
.
How do I convert "\u0420\u0435\u0433\u0438\u043e\u043d"
to "Регион"
?
"\u0420\u0435\u0433\u0438\u043e\u043d"
; desired:"Регион"
; get:"\\u0420\\u0435\\u0433\\u0438\\u043e\\u043d"