cpp: CLion 2022.3.2 and CLion 2023.1 run 运行中文乱码解决方式

按住 Ctrl+Shift+Alt+/ (不够快捷的快捷键...)选中Registry...(用于CLion 2022.3.2版本)

然后取消run.processes.with.pty

叮噹 The Unicode Standard, Version 15.0

https://unicode.org/charts/PDF/U2A700.pdf  漢字僻字  html: 𪠽  叮𪠽

参考:

https://learn.microsoft.com/en-us/typography/font-list/simsun
生僻字 SimSun.ttf,SimSun-extB.ttf
在 css 的 font-family 中指定多个字体

 

在當前顯示中,字體中無此字,也無法顯示出來

 

 

 

 

 此项不需要应用于2023.1版本,不需要此操作修改。

 

 

 

 升级为:CLion 2023.1 中文又乱码:

 

 主输出函数中,输出文字之前加上 

system("chcp 65001");
 

如下操作:

 

 

 

 

 

 

 

 

 

 

 

 https://deitel.com/c-plus-plus-how-to-program-10-e/

https://github.com/pdeitel/CPlusPlusHowToProgram10e
https://github.com/pdeitel/CPlusPlus20ForProgrammers

CLion 2022.3.2

posted @   ®Geovin Du Dream Park™  阅读(234)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示