check txt file encoding code example Example: How to detect the encoding of a file Open with notepad++ bottom right you see the encoding file!