When I open cmd.exe in Windows, what encoding is it using?

How can I check which encoding it is currently using? Does it depend on my regional setting or are there any environment variables to check?

What happens when you type a file with a certain encoding? Sometimes I get garbled characters (incorrect encoding used) and sometimes it kind of works. However I don’t trust anything as long as I don’t know what’s going on. Can anyone explain?

6 Answers
6

Leave a Reply

Your email address will not be published. Required fields are marked *