You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Linux hostname 4.20.3-arch1-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
readline backspace and delete do not handle astral characters correctly. If the cursor is within one char of the non UTF-16 char then delete, backspace, and or inserting a letter may not function correctly. Specifically they may delete one of the two code points, act on the astral char when they should be acting upon its neighbor, or insert between the two codepoints comprising an astral character.
The text was updated successfully, but these errors were encountered:
Avi-D-coder
changed the title
readline: Backspace and delete do not handle characters comprised of two UTF-16 code units
readline: text manipulation does not handle characters comprised of two UTF-16 code units
Jan 25, 2019
Prevents moving left or right from placing the cursor in between code
units comprising a code point.
PR-URL: #25723Fixes: #25693
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
v11.7.0
Linux hostname 4.20.3-arch1-1-ARCH #1 SMP PREEMPT x86_64 GNU/Linux
readline backspace and delete do not handle astral characters correctly. If the cursor is within one char of the non UTF-16 char then delete, backspace, and or inserting a letter may not function correctly. Specifically they may delete one of the two code points, act on the astral char when they should be acting upon its neighbor, or insert between the two codepoints comprising an astral character.
The text was updated successfully, but these errors were encountered: