Greetings to all. Opened Notepad ++. There is an opportunity to convert to ANSI. It is not clear what is meant by ANSI encoding in this program, because such encoding does not seem to exist. As far as I know, ANSI is the unofficial generic name for windows 1251, windows 1252, ascii (7bit) encodings. So what encoding will the text be converted to?
3 answers
In Windows, ANSI codepage is usually understood as “system” encoding. It is used for non-Unicode programs (and it seems for non-Unicode file systems). For the standard American version this is CP 1252, for the Russian - CP 1251.
Although the name refers to the ANSI standard, it really has nothing to do with the standard.
Most often this is a single - byte encoding, but for some systems (for example, Japanese) it is MBCS .
A distinction should be made between ANSI encoding (used for non-Unicode Windows programs) and OEM encoding (used for non-Unicode DOS programs, in the case of Russian Windows, this is CP 866).
See the answer to your question in the official documentation.
As far as I know, ANSI is the unofficial generic name for windows 1251, windows 1252, ascii (7bit) encodings. So what encoding will the text be converted to?
As far as I remember, it means their common part. That is, single-byte encoding, with all codes up to 128. Everything outside this area will turn into questions.
"125?"significantly more than two. It will probably be the one that matches the current locale . - aleksandr barakin