Answer the question
In order to leave comments, you need to log in
How to open a file in the required encoding?
How to explicitly specify the encoding of a file? string. And how to convert a file from one encoding to another? Those. not knowing in advance from which to which. As in a notebook, I opened it in one encoding, I wanted it - I recoded it into another. Those. I need something like the iconv function in PHP, here by analogy.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question