一、uVision V5
Edit -> Configuration ->Editor,General Editor Settings:下的Encoding选择Chinese GB2312(Simplitified)。
二、Source Insight 3.5
1. Document Options -> Screen Fonts,字体设置为新宋体(等宽),或者其他支持中文的字体,字符集选择GB2312。
2. Preferences -> Syntax Formatting,Basics下勾选“Use Syntax Formatting”“Use only color formatting”。
参考链接: