A
A
Alexander2020-05-04 14:26:20
1C-Bitrix
Alexander, 2020-05-04 14:26:20

How to fix Cyrillic bugs in the BitrixVM console?

Cyrillic in the BitrixVM console is displayed normally, but the length of the string is calculated incorrectly, which is why when erasing the Cyrillic text, for example, part of the invitation is deleted.
How to fix it?

UPD:
Problems with definition of length of a line. Those. when in the console there is Russian text in the line water, it will fit on the prompt as if it had several backspaces at the beginning (if you know there was such a terminal character once), so that the text starts to overlap the text of the prompt if this text is selected from the tooltip.
We enter the text (so far everything is fine):
5eb196da91fe8829394690.png
Erase the text - oops, a piece of the invitation has been erased:
5eb19717a1af9759364505.png
Here's what happens if you sort through the text with the up arrow if there was a Russian input:
5eb1978680965967678414.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Vasilyev, 2020-05-04
@vasilyevmn

https://rushstudio.by/blog/razrabotchiku/smena-kod...
To the heap https://ergoz.ru/smiena-kodirovki-utf-8-v-konsoli-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question