File encoding format detection and encoding format Detection
In the php and windows development environments, the server is a linux environment, and the UTF-8 BOM problem is often encountered (utf8 signature and no signature). If you have encountered any problems before, you should first check and sometimes forget it, later, I tested this small tool, because I was familiar with C #, so I used C.
You can check the encoding format of the code file with the specified Suffix in a directory. You can double-click an item in the list or right-click it to view or save it as utf8 without signature encoding.
Source code uploaded to https://github.com/lrj525/FileEncodingTool
Current problems:
The Program identifies the possibility of file encoding.
It is found that if there is a Chinese (non-pure English) recognition rate is the best, even if the utf8 is saved in pure English, it will be displayed as ASCII, but it will not be encoded in pure English.
Welcome to join us in research
Below are some