Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to solve the conversion problem between UTF-8 and ANSI of KEIL Compiler

Shulou Source: shulou.com Published: 2022-06-01 08:33:26 09月26日 Update

In this issue, the editor will bring you about how to solve the conversion problem between UTF-8 and ANSI of KEIL compiler. The article is rich in content and analyzes and describes for you from a professional point of view. I hope you can get something after reading this article.

Programming in KEIL [version 5.21], the system defaults to ANSI encoding files.

There is an interesting phenomenon: from ANSI files to-> UTF-8 files, all loaded files can be converted to UTF-8 format files.

At this time, if you change from a UTF-8 file to an ANSI setting, KEIL cannot be converted back.

Originally close the entire project, and then reopen the project, it will still be a UTF-8 file.

Solution: remove this file from the project, or have other IDE forced to convert to ANSI, and then reload it and change it to ANSI encoding.

The above is the editor for you to share how to solve the KEIL compiler UTF-8 and ANSI conversion problem, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Files UTF-8 compilers problems compilers content projects methods coding projects analysis interesting professional small and medium rich in content originally engineering projects articles more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Huawei Shulou Tech Info NVidia vpn