当前位置:网站首页>Clion console output Chinese garbled code
Clion console output Chinese garbled code
2022-07-04 08:49:00 【Hu Anmin】
For programmers engaged in software development ,JetBrains The whole family bucket is convenient to use . Whether it's Android Development uses AndroidStudio, Or is it Web Developed WebStorm , Until then C Linguistic CLion. The same interface style , Familiar shortcut keys , Everything is so smooth to use .
In order to learn C Language and data structure , I chose CLion As IDE. One day when I output Chinese on the console , The output is garbled . The solution is hereby recorded .
Set encoding
- open File —> Settings —> Editor
- choice File Encodings
- Set encoding to UTF-8
After setting up , Run the project and find that it is still garbled . The reason is that you need to change the code of the console to GBK.
Only this and nothing more , Be accomplished . But the above is based on Windows system , Let's talk about Xiayu Windows Run in Ubuntu Code written in , The resulting garbled code problem .
边栏推荐
- Codeforces Round #793 (Div. 2)(A-D)
- Relationship and operation of random events
- SSRF vulnerability exploitation - attack redis
- Redis 哨兵机制
- What is inner connection and outer connection? What are the uses and benefits
- What should I do if there is a problem with the graphics card screen on the computer
- go-zero微服务实战系列(九、极致优化秒杀性能)
- Codeforces Global Round 21(A-E)
- Awk from entry to earth (14) awk output redirection
- Awk from entry to earth (8) array
猜你喜欢
[untitled] forwarding least square method
Newh3c - routing protocol (RIP, OSPF)
SSRF vulnerability exploitation - attack redis
Conversion of yolov5 XML dataset to VOC dataset
小程序容器技术与物联网 IoT 可以碰撞出什么样的火花
Démarrage des microservices: passerelle
Bishi blog (13) -- oral arithmetic test app
NewH3C——ACL
HMS core helps baby bus show high-quality children's digital content to global developers
Horizon sunrise X3 PI (I) first boot details
随机推荐
[Chongqing Guangdong education] National Open University spring 2019 455 logistics practice reference questions
C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,Gauss-Jordan消去法,源代码
DM8 uses different databases to archive and recover after multiple failures
Newh3c - routing protocol (RIP, OSPF)
Flutter integrated amap_ flutter_ location
Flutter 集成 amap_flutter_location
Famous blackmail software stops operation and releases decryption keys. Most hospital IOT devices have security vulnerabilities | global network security hotspot on February 14
manjaro安装微信
Guanghetong's high-performance 4g/5g wireless module solution comprehensively promotes an efficient and low-carbon smart grid
awk从入门到入土(8)数组
C语言-入门-基础-语法-[变量,常亮,作用域](五)
From scratch, use Jenkins to build and publish pipeline pipeline project
The map set type is stored in the form of key value pairs, and the iterative traversal is faster than the list set
到底什么才是DaaS数据即服务?别再被其他DaaS概念给误导了
Leetcode topic [array] - 121 - the best time to buy and sell stocks
[error record] no matching function for call to 'cacheflush' cacheflush();)
Awk from digging into the ground to getting started (10) awk built-in functions
What sparks can applet container technology collide with IOT
根据数字显示中文汉字
How to pass custom object via intent in kotlin