当前位置:网站首页>Solve the problem of disordered code in vscode development, output Chinese and open source code
Solve the problem of disordered code in vscode development, output Chinese and open source code
2022-07-03 09:26:00 【Song infinite】
reason
Is due to VSCode The default text encoding for is UTF-8, But other codes are used in program operation , For example, in Chinese GBK.
terms of settlement
After opening the text , Click on VSCode In the lower right corner
Of UTF-8, Then choose Reopen... By encoding You can change the text encoding .
stay MINGW Under the environment of , Set the font code to GBK Can make C The text in the language program is normal , But after adjustment, the Chinese in the source code will become garbled ( The code of English characters will not become garbled ) Need to rewrite .
Symbol code will not become garbled ) Need to rewrite .
Similarly, when opening a document with garbled code, you can solve this problem by changing the text encoding .
边栏推荐
- Just graduate student reading thesis
- [kotlin learning] control flow of higher-order functions -- lambda return statements and anonymous functions
- [point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
- Construction of simple database learning environment
- 【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
- Trial of the combination of RDS and crawler
- Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code
- Flink-CDC实践(含实操步骤与截图)
- LeetCode每日一题(1856. Maximum Subarray Min-Product)
- Introduction to the basic application and skills of QT
猜你喜欢
[graduation season | advanced technology Er] another graduation season, I change my career as soon as I graduate, from animal science to programmer. Programmers have something to say in 10 years

一款开源的Markdown转富文本编辑器的实现原理剖析

【Kotlin学习】类、对象和接口——定义类继承结构
![[point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds](/img/ee/3286e76797a75c0f999c728fd2b555.png)
[point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds

Go language - JSON processing

Detailed steps of windows installation redis

Crawler career from scratch (I): crawl the photos of my little sister ① (the website has been disabled)

Django operates Excel files through openpyxl to import data into the database in batches.

Windows安装Redis详细步骤

Apply for domain name binding IP to open port 80 record
随机推荐
The server denied password root remote connection access
1922. Count Good Numbers
【Kotlin学习】高阶函数的控制流——lambda的返回语句和匿名函数
Spark cluster installation and deployment
Windows安装Redis详细步骤
[point cloud processing paper crazy reading frontier version 10] - mvtn: multi view transformation network for 3D shape recognition
Bert install no package metadata was found for the 'sacraments' distribution
Solve POM in idea Comment top line problem in XML file
Liteide is easy to use
Alibaba cloud notes for the first time
NPM install installation dependency package error reporting solution
[kotlin puzzle] what happens if you overload an arithmetic operator in the kotlin class and declare the operator as an extension function?
Banner - Summary of closed group meeting
IDEA 中使用 Hudi
Navicat, MySQL export Er graph, er graph
Idea uses the MVN command to package and report an error, which is not available
Using Hudi in idea
Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code
LeetCode每日一题(2090. K Radius Subarray Averages)
The idea of compiling VBA Encyclopedia