当前位置:网站首页>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 .



边栏推荐
- awk从入门到入土(12)awk也可以写脚本,替代shell
- C语言-入门-基础-语法-数据类型(四)
- SSRF vulnerability exploitation - attack redis
- HMS core helps baby bus show high-quality children's digital content to global developers
- Codeforces Round #793 (Div. 2)(A-D)
- Go zero micro service practical series (IX. ultimate optimization of seckill performance)
- Basic discipline formula and unit conversion
- Newh3c - routing protocol (RIP, OSPF)
- Xcode 6 swift code completion does not work properly - Xcode 6 swift code completion not working
- awk从入门到入土(9)循环语句
猜你喜欢

Call Baidu map to display the current position

微服務入門:Gateway網關

How to solve the problem that computers often flash

Ehrlich sieve + Euler sieve + interval sieve

Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
![[CV] Wu Enda machine learning course notes | Chapter 9](/img/de/41244904c8853b8bb694e05f430156.jpg)
[CV] Wu Enda machine learning course notes | Chapter 9

Codeforces Round #793 (Div. 2)(A-D)
![Leetcode topic [array] -136- numbers that appear only once](/img/6d/f2e4b812e5dd872fbeb43732d6f27f.jpg)
Leetcode topic [array] -136- numbers that appear only once

What should I do if there is a problem with the graphics card screen on the computer

manjaro安装微信
随机推荐
DM8 command line installation and database creation
C语言-入门-基础-语法-[运算符,类型转换](六)
2022 examination questions for safety managers of metal and nonmetal mines (underground mines) and examination papers for safety managers of metal and nonmetal mines (underground mines)
awk从入门到入土(14)awk输出重定向
LinkedList in the list set is stored in order
Educational Codeforces Round 115 (Rated for Div. 2)
Codeforces Round #750 (Div. 2)(A,B,C,D,F1)
Cancel ctrl+alt+delete when starting up
Take you to master the formatter of visual studio code
Xcode 6 swift code completion does not work properly - Xcode 6 swift code completion not working
Awk from entry to earth (12) awk can also write scripts to replace the shell
2022 tower crane driver examination and tower crane driver examination questions and analysis
deno debugger
Guanghetong's high-performance 4g/5g wireless module solution comprehensively promotes an efficient and low-carbon smart grid
Snipaste convenient screenshot software, which can be copied on the screen
FOC control
The basic syntax of mermaid in typera
Fault analysis | MySQL: unique key constraint failure
Redis 哨兵机制
awk从入门到入土(11)awk getline函数详解