Answer the question
In order to leave comments, you need to log in
How to make CentOS correctly display the length of Cyrillic characters in the console?
In CentOS 7, I constantly encounter a problem after displaying Cyrillic characters. It doesn't matter how they got there - as a result of input or a hint, the length of the entered text is calculated incorrectly. Bytes.
As a result, if you write in Cyrillic, for example, and then try to erase it, but twice as many characters are erased than there were Cyrillic ones.
The only place where it works fine is in BitrixVM, right after installation. But the slightest update breaks everything. Reverting update commits does not solve the problem.
Answer the question
In order to leave comments, you need to log in
What to watch:
locale - показывает текущие параметры локали
locale -a - показывает весь список доступных локалей
localectl - утилита от systemd
localedef ru_RU.UTF-8 -f UTF-8 -i ru_RU
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question