当前位置:网站首页>Vscode reading Notepad Chinese display garbled code

Vscode reading Notepad Chinese display garbled code

2022-07-08 01:06:00 BSY555

Use ifstream After reading the Chinese written by yourself in Notepad ,cout It's garbled .

reason : The encoding method of Notepad is UTF-8.

resolvent : Save Notepad as new , Change the code to ANSI.

 

原网站

版权声明
本文为[BSY555]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130550388182.html