To detect and guess a text-file's encoding (UTF8, UTF16 LE, GBK / GB2312 for simplified Chinese). If the BOM is present, then we trust the BOM, if BOM is absent, then we guess encoding by check characters one by one from file's begining.
hoodlum1980 / guessfileencoding Goto Github PK
View Code? Open in Web Editor NEWTo detect and guess a textfile's encoding. If the BOM is present, then we trust the BOM, if BOM is absent, then we guess encoding by check character one by one from file begining.
License: GNU General Public License v3.0