Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Russian characters become gibberish #1107

Open
DamAnDiuM opened this issue Mar 5, 2024 · 0 comments
Open

Russian characters become gibberish #1107

DamAnDiuM opened this issue Mar 5, 2024 · 0 comments

Comments

@DamAnDiuM
Copy link

  • 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

@DamAnDiuM DamAnDiuM changed the title [Bug] Russian characters become gibberish Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant