ensure no incomplete utf-8 chars are inserted while in utf-8 mode
Bug #909025 reported by
Thorsten Glaser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mksh |
Fix Released
|
High
|
Unassigned | ||
mksh (Fedora) |
Fix Released
|
Low
|
Bug Description
This was reported in Red Hat:
Steps to Reproduce:
1. mkdir t && touch t/십일 t/십이
2. Type 'ls t/' and hit <TAB>
Additionally, after this, the cursor seems to somehow be _before_ the incomplete UTF-8 multibyte character, resulting in pretty weird behaviour.
When UTFMODE, this shall not happen.
Changed in mksh (Fedora): | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
To post a comment you must log in.
Description of problem:
Tab completion in mksh seems to work with bytes, not characters. This results in a poor user experience when working with filenames in multibyte encodings.
Version-Release number of selected component (if applicable): 2.fc15. x86_64
mksh-40b-
How reproducible:
Always
Steps to Reproduce:
1. mkdir t && touch t/십일 t/십이
2. Type 'ls t/' and hit <TAB>
Actual results:
t/십�
Expected results:
t/십
Additional info:
This should be reproducible with anything beyond ASCII range with UTF-8.