S
S
Sergey2021-10-18 17:38:35
Cyrillic
Sergey, 2021-10-18 17:38:35

How to display Cyrillic characters in the console in VSCode when working in python?

I work with python in vs code. I need Cyrillic to be displayed in the vs code editor console itself.
Instead of the Russian language, question marks are displayed.
616d85c0d487b511944725.jpeg
Changing the encoding to another does not help, the default is UTF-8. There are only such encodings
616d8656adc1f075097703.jpeg
Usually it is advised to install windows-1251, but it is not there ...
Here is my console in vs code
616d89b23f2dd404020987.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
antares4045, 2021-10-18
@antares4045

Judging by the interface, you haven't updated vs code for a long time: start with this.
If that doesn't help, look in the python extension settings for which console is the runtime.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question