A
A
akokin2018-06-06 20:58:53
Python
akokin, 2018-06-06 20:58:53

How to set up Cyrillic in PyScripter editor?

Hello.
I started learning Python and decided to try the PyScripter code editor. The editor is Russified, but in the "Puthon Interpreter" window, the Russian text entered from the code turns into question marks.
Already in the settings I pointed to UTF, anyway - questions, questions. Although the service text is displayed there in Cyrillic normally.
How to defeat encoding?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
Web Dentist, 2018-06-06
@akokin

Try at the beginning of the file where Cyrillic is used.
# -*- coding: utf-8 -*

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question