Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use vscode to open cpp display garbled code

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to use vscode to open cpp display garbled code, the article is very detailed, has a certain reference value, interested friends must read it!

How to use vscode to open cpp display garbled code

The default encoding of vscode is UTF-8, and garbled will occur when the open file is not UTF-8 encoded.

The solution is as follows:

Method 1: click the coding button in the lower right corner (UTF-8 in the picture), then select the operation, re-open it by encoding (Reopen with Encoding), and search for GB 2312.

Method 2: click File-> preferences-> Settings, and then enter "files.autoGuessEncoding": true in the user settings on the right.

The above is all the contents of the article "how to display garbled codes in cpp with vscode". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report