当前位置:网站首页>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 .
边栏推荐
- Flask+supervisor installation realizes background process resident
- 【Kotlin疑惑】在Kotlin类中重载一个算术运算符,并把该运算符声明为扩展函数会发生什么?
- 2022-2-14 learning xiangniuke project - Session Management
- Usage of pandas to obtain MySQL data
- [kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
- LeetCode每日一题(1162. As Far from Land as Possible)
- 2022-2-13 learn the imitation Niuke project - Project debugging skills
- Spark 概述
- The idea of compiling VBA Encyclopedia
- Install third-party libraries such as Jieba under Anaconda pytorch
猜你喜欢
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
【点云处理之论文狂读经典版12】—— FoldingNet: Point Cloud Auto-encoder via Deep Grid Deformation
Jenkins learning (III) -- setting scheduled tasks
Navicat, MySQL export Er graph, er graph
【毕业季|进击的技术er】又到一年毕业季,一毕业就转行,从动物科学到程序员,10年程序员有话说
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
Flink学习笔记(十一)Table API 和 SQL
[point cloud processing paper crazy reading frontier version 8] - pointview gcn: 3D shape classification with multi view point clouds
Idea uses the MVN command to package and report an error, which is not available
【Kotlin学习】运算符重载及其他约定——重载算术运算符、比较运算符、集合与区间的约定
随机推荐
Uc/os self-study from 0
【点云处理之论文狂读经典版13】—— Adaptive Graph Convolutional Neural Networks
Overview of database system
Hudi 集成 Spark 数据分析示例(含代码流程与测试结果)
Go language - IO project
Hudi integrated spark data analysis example (including code flow and test results)
Serializer rewrite: update and create methods
Banner - Summary of closed group meeting
npm install安装依赖包报错解决方法
[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion
About the configuration of vs2008+rade CATIA v5r22
Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code
1922. Count Good Numbers
Temper cattle ranking problem
There is no open in default browser option in the right click of the vscade editor
软件测试工程师是做什么的 通过技术测试软件程序中是否有漏洞
Simple use of MATLAB
LeetCode每日一题(2109. Adding Spaces to a String)
【Kotlin学习】类、对象和接口——定义类继承结构
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"