有没有办法配置 VS Code 或 Code::Blocks 以便终端可以输出俄语字符?

问题描述 投票:0回答:2

我曾尝试更改 vs code 中的编码,但俄语字符一直显示为“???”在终端。

I have tried to change the encoding in vs code, but the Russian characters keep showing as

c++ visual-studio-code codeblocks
2个回答
0
投票

尝试将

setlocale(LC_ALL, "Russian")
添加到代码的开头。


-1
投票

尝试获取字符的整数值,并将它们与应该是 Unicode 字符的正确值进行比较。我认为这至少会为您指明正确的方向。

© www.soinside.com 2019 - 2024. All rights reserved.