在vscode中使用powershell终端 cargo run > output.txt
打印字符串为乱码,即编码为ansi,解码为utf8
解决办法,通过修改powershell的默认编码为utf8解决
修改编码文章链接:https://blog.csdn.net/qq_39494169/article/details/122561317
在vscode中使用powershell终端 cargo run > output.txt
打印字符串为乱码,即编码为ansi,解码为utf8
解决办法,通过修改powershell的默认编码为utf8解决
修改编码文章链接:https://blog.csdn.net/qq_39494169/article/details/122561317