当前位置:网站首页>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 .
边栏推荐
- Introduction to the basic application and skills of QT
- 用Redis实现分布式锁
- Using Hudi in idea
- [kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals
- [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
- Hudi quick experience (including detailed operation steps and screenshots)
- Build a solo blog from scratch
- Move anaconda, pycharm and jupyter notebook to mobile hard disk
- [set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
- 2022-2-13 learning xiangniuke project - version control
猜你喜欢

Flink学习笔记(八)多流转换
![[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion](/img/76/b92fe4549cacba15c113993a07abb8.png)
[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion

Vs2019 configuration opencv3 detailed graphic tutorial and implementation of test code

Hudi integrated spark data analysis example (including code flow and test results)

Liteide is easy to use

【点云处理之论文狂读前沿版13】—— GAPNet: Graph Attention based Point Neural Network for Exploiting Local Feature
![[kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals](/img/8d/938e232c1016cabe9ee0f72be87a22.png)
[kotlin learning] operator overloading and other conventions -- overloading the conventions of arithmetic operators, comparison operators, sets and intervals

Django operates Excel files through openpyxl to import data into the database in batches.
[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

Trial of the combination of RDS and crawler
随机推荐
Numerical analysis notes (I): equation root
【点云处理之论文狂读前沿版12】—— Adaptive Graph Convolution for Point Cloud Analysis
Derivation of Fourier transform
LeetCode每日一题(1300. Sum of Mutated Array Closest to Target)
LeetCode每日一题(985. Sum of Even Numbers After Queries)
2022-2-13 learn the imitation Niuke project - Project debugging skills
制作jetson nano最基本的根文件系统、服务器挂载NFS文件系统
【Kotlin学习】类、对象和接口——带非默认构造方法或属性的类、数据类和类委托、object关键字
[solution to the new version of Flink without bat startup file]
2022-2-14 learning xiangniuke project - generate verification code
Trial of the combination of RDS and crawler
Flink学习笔记(十)Flink容错机制
[untitled] use of cmake
Vscode编辑器右键没有Open In Default Browser选项
2022-2-13 learning xiangniuke project - version control
STM32F103 can learning record
[set theory] order relation (chain | anti chain | chain and anti chain example | chain and anti chain theorem | chain and anti chain inference | good order relation)
Modify idea code
[kotlin learning] classes, objects and interfaces - define class inheritance structure
Severity code description the project file line prohibits the display of status error c2440 "initialization": unable to convert from "const char [31]" to "char *"