vscode-code-runner
vscode-code-runner copied to clipboard
The inscriptions contain Cyrillic, not readable. Instead, diamonds with question marks.
- VS Code Version: 1.39.2
- OS Version: Windows 10 x64 (10.0.17763)
- Code Runner Version: 0.9.14
- Python Version: 3.7.2
Describe the bug The inscriptions contain Cyrillic, not readable. Instead, diamonds with question marks.
To Reproduce Steps to reproduce the behavior:
- print('Привет хозяин')
- run
Actual behavior [Running] python -u "e:\py\bankiboom\script.py" 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] C:\Users\MXM\AppData\Local\Programs\Python\Python37\python.exe ������, ��� ������, ������
[Done] exited with code=0 in 0.294 seconds
Expected behavior They must be written inscriptions in Russian. Most likely the program is not aware that the output encoded UTF8.
Screenshots https://imgur.com/a/jlYiqvi
Does anybody manage to solve this? Same exact issue for me. By the way Cyrillic letters shows fine if run JavaScript file.
Anyone can help? I have the same issue
Anyone can help? I have the same issue
I'm using built-in Code Run function (Ctrl+F5)
Spent few hours trying to fix this issue on a WIndows machine, eventually found this solution and can confirm both suggested options worked for me: https://stackoverflow.com/questions/57834398/visual-studio-code-cant-encode-cyrillic-characters-in-output
Apparently same issue as https://github.com/formulahendry/vscode-code-runner/issues/562