Forum Discussion
AlexKaras
12 years agoCommunity Hero
Also, UTF-encoded files (like files with other type of encoding) usually has a header that can be read if the file is opened as a binary.
http://programmers.stackexchange.com/questions/187169/how-to-detect-the-encoding-of-a-file contains good initial description.
And https://www.google.com.ua/?q=check+if+file+is+utf-8+encoded returns quite a few relevant links.
http://programmers.stackexchange.com/questions/187169/how-to-detect-the-encoding-of-a-file contains good initial description.
And https://www.google.com.ua/?q=check+if+file+is+utf-8+encoded returns quite a few relevant links.