The whole idea of locale is obsolete. A notion of locale is still used in different version of Windows, mostly in the form of rudiment. These days, Unicode is used.
Now, the text files can have a UTF Byte-Order Marker (BOM) used to inform a text editor on what
UTF is used. As to .NET API, text stream and reader classes have options to auto-recognize Unicode UTFs by the BOM. Unicode-enabled text editors have the "Save as" option which allows to select the UTF or none, which means all good ANSI.
For further detail, see:
http://unicode.org/[
^],
http://unicode.org/faq/utf_bom.html[
^].
—SA