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
Windows: try to be smarter about encoding detection #39664
Comments
Verification steps? Is this for the integrated terminal? |
@roblourens this is for #39330 |
I don't think I'm doing it right, here's what I've tried
...
Same with Greek, 1253 |
@roblourens we are not carrying over the encoding into VS Code, so the file in VS Code will be whatever your default encoding is (most likely UTF-8). If you see the characters you type showing up properly in VS Code, you have verified this bug. |
I fix the encoding in vscode manually, but even then, the characters are not correct. |
@roblourens I see. I think the issue here is that you are only changing the encoding for the current running terminal session and when VS Code starts, I run |
You're right, it works great after changing my system locale to Russian. |
@roblourens thanks for testing this! |
@bpasero please add |
@heroboy ok I can add it. |
Instead of hardcoding the encoding to cp850, should actually check the output of running chcp and find some well supported encodings we could use instead.
Refs: https://ss64.com/nt/chcp.html
The text was updated successfully, but these errors were encountered: