cubeide编译器编码格式
时间: 2023-08-02 07:11:24 浏览: 403
根据引用\[1\],在使用Stm32CubeIDE时,C/C++编译器默认的编码方式为UTF-8。如果需要使用GBK编码,可以直接将Stm32CubeIDE软件的C/C++编码改成GBK,或者在项目工程中的GCC增加编译指令:-fexec-charset=GBK -finput-charset=UTF-8。
所以,Stm32CubeIDE的编译器编码格式默认为UTF-8,但可以通过相应的设置或编译指令来改变为GBK编码。
#### 引用[.reference_title]
- *1* [关于Stm32CubeIDE使用GCC编译器时,中文使用GBK编码的问题](https://blog.csdn.net/kavieen/article/details/127747961)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Stm32CubeIDE编译,汉字编码GBK显示](https://blog.csdn.net/m0_38012497/article/details/130214071)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [如何在VScode+PlatformIO中使用STM32CubeIDE的工程?](https://blog.csdn.net/palzhj/article/details/129455671)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文