How do I tell if my file is coded in the local windows (ie, ANSI) codepage?
Open the file with Windows notepad (eg. Start->(All) Programs->Accessories->Notepad. Choose File->Save As, and in the Save As dialog which appears, look at the dropdown list at the very bottom, labelled “Encoding”. • If it says “ANSI”, the file is (apparently) in the local windows codepage. If the file is entirely in English and normal punctuation, then the file is also in ASCII. • If it says “Unicode”, the file is (probably) in the default Windows Unicode encoding “UCS-2LE”. • If it says “UTF-8”, the file is in the cross-platform Unicode encoding “UTF-8”. • If it says “Unicode big endian”, the file is in a different Unicode encoding not much used or supported under Windows, probably “UCS-2BE”.