S
S
Sergey delphinpro2020-10-02 13:32:16
linux
Sergey delphinpro, 2020-10-02 13:32:16

How to fix the displayed encoding in the terminal?

Hello.

I have problems with displaying the encoding in the terminal
The server is running on CentOS 7, the shell is bash, I connect via ssh via XShell4 The
pseudographics and Cyrillic are displayed crookedly.

Looks like that:
5f77017b3b1ca965914306.png

And it should be like this:
5f77018b41d8b273973731.png

git log output
5f7701a5bbc8f853248099.png


How to fix?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
res2001, 2020-10-02
@delphinpro

Set XShell encoding to UTF8.

A
Adamos, 2020-10-02
@Adamos

$ locale
LANG=ru_RU.UTF-8
LANGUAGE=ru:en
LC_CTYPE="ru_RU.UTF-8"
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE="ru_RU.UTF-8"
LC_MONETARY=ru_RU.UTF-8
LC_MESSAGES="ru_RU.UTF-8"
LC_PAPER=ru_RU.UTF-8
LC_NAME=ru_RU.UTF-8
LC_ADDRESS=ru_RU.UTF-8
LC_TELEPHONE=ru_RU.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION=ru_RU.UTF-8
LC_ALL=

And you?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question