N
N
Nonprogrammer2014-06-10 17:22:51
Command line
Nonprogrammer, 2014-06-10 17:22:51

How to save(!) Cyrillic characters in the command line after closing?

I know the one-time command > chcp 1251, after which you can use Cyrillic on the command line. But if you open it again, 1251 will change to 866. How can I save Cyrillic on the command line? I must say right away that I will not use third-party console-terminals-ide.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Velichko, 2014-06-10
@c_pro_lang

In the registry, remember the default encoding for the console
Start-> Run-> regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage
change the encoding in OEMCP from 866 to 1251
After which a restart is required.

M
Maxim Karelov, 2014-06-10
@xxxTy3uKxxx

renaming the executable and replacing it with a batch file, as an option. Or too radical?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question