formulahendry / formulahendry/vscode-code-runner

Russian characters become gibberish

Open
#1,107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.87.0
- OS Version: 22H2
- Code Runner Version: 0.12.1

**Describe the bug**
When outputted russian charachters in terminal they become ╨╜╨╡ ╤А╨░╨▒╨╛╤В╨░╨╡╤В type characters

**To Reproduce**
Steps to reproduce the behavior:

1. Enable run in terminal
2. create a c++ program
3. create a string with russian characters (for example: не работает)
4. output the string
5. run the program

**Actual behavior**
int main()
{
int age = 5;
std::string name = "Ваня";
std::cout << "Твоё имя - " << name << " Твой возраст - " << age;
return 0;
}

In this program the output is ╨в╨▓╨╛╤С ╨╕╨╝╤П - ╨Т╨░╨╜╤П ╨в╨▓╨╛╨╣ ╨▓╨╛╨╖╤А╨░╤Б╤В - 5 which is obviously wasnt inputted

**Expected behavior**
I expected actual russian charachters to be outputted, since the default vscode c++ code runner outputs what i expected

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.