long blogs

进一步有进一步惊喜


  • Home
  • Archive
  • Tags
  •  

© 2025 long

Theme Typography by Makito

Proudly published with Hexo

clion-build输出乱码解决方案

Posted at 2025-09-01 soft 

概述

使用msvc编译项目clion build输出乱码

解决方案

将如下配置都配置成utf-8

1
2
3
4
5
Settings/Editor/File Encodings
Global Encoding UTF-8
Project Encoding UTF-8
Settings/Editor/General/Console
Default Encoding: UTF-8

带来的问题是,cmake的一些输出信息又变回乱码了

Share 

 Next post: QT-源码编译 

© 2025 long

Theme Typography by Makito

Proudly published with Hexo