A
A
Alexey Aristov2017-04-18 19:25:41
Ping
Alexey Aristov, 2017-04-18 19:25:41

Does msys2 configure the encoding in the ping response?

I run ping from under msys2, but the response now shows 'â–’' instead of once understandable characters:

[email protected] MSYS ~
$ ping ya.ru
▒▒▒▒▒ ▒▒▒▒⠬▒ ▒ ya.ru [87.250.250.242] ▒ 32 ▒▒▒⠬▒ ▒▒▒▒▒▒:
▒⢥▒ ▒▒ 87.250.250.242: ▒᫮ ▒▒▒▒=32 ▒६▒=11▒▒ TTL=57
▒⢥▒ ▒▒ 87.250.250.242: ▒᫮ ▒▒▒▒=32 ▒६▒=13▒▒ TTL=57

How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
teterkin, 2019-10-08
@teterkin

[UPDATE]: Added the correct option at the end.
There are 2 options:
1. From under the admin in PowerShell , install chocolatey :

Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

2. Install psping using the command: choco install psping. There is some nonsense with checksums, I set it like this:
choco install psping --checksum B9F404D4C7B6BF3A37746C66BCD014E75859D2FCF887B1DB527EC3ED2CCDEB30

3. We use: psping 127.0.0.1
1. Press [ Win] + R
2. Write controland press ENTER
3. Go to Clock and Region -> Regional Standards -> Advanced tab -> Language for programs that do not support Unicode - > Change system language
4. We put English (USA) .
5. Check the box Beta: use Unicode (UTF-8) for worldwide language support .
6. OK. There will be a reboot.
After this procedure, everything became normal for me in ping IN RUSSIAN.
Even in the properties (Options, right-click on the git bash window), I have it in Text: in Locale - ru_RU, in Character set - UTF-8.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question