Answer the question
In order to leave comments, you need to log in
How to create a text document with ANSI encoding?
The documentation says only how to create in UTF-8 and 16 encodings, there is nothing about ANSI. I need to read information from a file in which everything is written in Russian, and if the encoding is not ANSI, then the program simply cannot get anything. help me please
Answer the question
In order to leave comments, you need to log in
Plain text document (not Unicode).
ANSI is usually understood as the first 128 ASCII characters, which are common to most single-byte encodings in use.
Those. stupidly write English letters, numbers and some additional characters with code <128 into a text document and you will have ANSI.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question