Advanced-Equipment icon indicating copy to clipboard operation
Advanced-Equipment copied to clipboard

Character Length > 1 for some symbols in armaOS terminal

Open y0014984 opened this issue 1 year ago • 1 comments

I encountered a problem while creating new keyboard layouts for armaOS terminal. Some symbols, that could be entered like the "€" symbol, need more then one backspace keypress to delete them. Some symbols need 2 and some 3 keypresses.

This looks like that the encoding of the keys is UTF-8, which in some cases is represented by 1 8-bit character, and in some cases by 1 16-bit character, especially if the character is not part of the ASCII alphabet table. For example the german "ü" sign needs two backspace presses, the "€" sign needs 3 backspace presses.

Perhaps we can somehow work around this problem if SQF provides text functions to work around that behavior.

y0014984 avatar Feb 14 '23 08:02 y0014984

This is still a problem, even with the change to the invisible input field.

y0014984 avatar Dec 20 '23 09:12 y0014984