Just to add to that: Notepad++ in a lot of cases can only guess the encoding of a file. UTF-8, OEM and ANSI are all the same as long as you only use ASCII characters. Even when using extended characters it still can't always recognize it (definetely not the difference between OEM and ANSI), but then you can check if the characters are displayed correctly to see if Notepad++ assumed the right format.