I got a source file that, I'm sure about it because I saved it to that encoding with VScode, is encoded in Chinese GB2312. But uVision cannot open it correctly with Chinese GB2312 encoding. How can I do about that?
You can change the editor encoding option to GB2312 in uVision: www.keil.com/.../uv4_dg_editsettings.htm
You can change the editor encoding option to GB2312 in uVision I already set it to GB2312, but it still doesn't work correctly.
First of all you should make sure your original source code file is using GB2312 or UTF-8 character encoding, if these files are created outside of uVision. You can check and change the character encoding in e.g. Notepad++ of your original source code files. Then, choose the same GB2312 or UTF-8 in Encoding setting of uVision editor.