-1

In my command line it doesn't show Russian symbols correctly. Scary symbols instead.

I think I should change character set, but how can it be done? Can anyone help me with this problem?

Slava Vedenin
  • 58,326
  • 13
  • 40
  • 59

1 Answers1

2

I think this command should help you if you work on Windows:

chcp 65001

This command changes character set of command line to UTF-8.

Dmitriy Buteiko
  • 624
  • 1
  • 6
  • 14
  • My problem was repaired.Thank you! – Peter Hollinger Sep 15 '17 at 11:26
  • 1
    If you're on Windows, try changing system locale: `Control Panel -> Clock, Language, and Region -> Region and Language`, select `Administrative` tab, click Change system locale in the Language for non-Unicode programs. Change that to Russian, then restart your PC (required!). Should fix it permanently (for that machine). – nurchi Nov 27 '17 at 18:19