Answer the question
In order to leave comments, you need to log in
How to change encoding in Windows 10 command line?
The bottom line is this, the teacher threw off the task with the attached .cmd file, which was supposed to create a Derby database for a java project, but instead of intelligible text there (on the command line) some kind of gibberish. Through simple operations, we determined that the encoding in the file is 1251 (Windows), and in our command lines the encoding is 866 (OEM). How to solve a similar problem?
Answer the question
In order to leave comments, you need to log in
We solved the problem ourselves, in a peculiar way
Opened PowerShell
entered chcp 1251
and worked through it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question