N
N
nak-alexey2020-08-02 18:25:49
Python
nak-alexey, 2020-08-02 18:25:49

Linux and encoding?

I run the script in ubuntu via python, the Latin script is displayed normally in the console, and the Cyrillic alphabet is something like (\u041d\u043e\u043c\u0435\u0440 \u0441\u0435\u043a\u0446\u0438\u0438), how can I fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2020-08-02
@Zoominger

Yes. Google for "utf8-encoding", you get text in uft8 in the console, but Linux displays it crookedly.

K
Karpion, 2020-08-03
@Karpion

See what is about encoding in environment variables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question