Get encoding of a file in Windows

Open up your file using regular old vanilla Notepad that comes with Windows.
It will show you the encoding of the file when you click “Save As…“.
It’ll look like this:
enter image description here

Whatever the default-selected encoding is, that is what your current encoding is for the file.

If it is UTF-8, you can change it to ANSI and click save to change the encoding (or visa-versa).

I realize there are many different types of encoding, but this was all I needed when I was informed our export files were in UTF-8 and they required ANSI. It was a onetime export, so Notepad fit the bill for me.

FYI: From my understanding I think “Unicode” (as listed in Notepad) is a misnomer for UTF-16.
More here on Notepad’s “Unicode” option: Windows 7 – UTF-8 and Unicdoe

Leave a Comment