[patch ready] mcedit puts cursor in the middle of multibyte utf8 character #2631
Labels
area: mcedit
mcedit, the built-in text editor
prio: medium
Has the potential to affect progress
ver: 4.7.5.5
Reproducible in version 4.7.5.5
Important
This issue was migrated from Trac:
sergem
Sometimes when editing an UTF-8 file mcedit puts cursor in the middle of the multibyte utf8 character. And when it does, typing a new character results in an invalid utf8 sequence.
I've made some general purpose utf8test file and attached it. To reproduce this bug:
And you'd get a broken character.
PS: This bug is related to #2372 and #1730 but different from them.
Note
Original attachments:
sergem
onOct 14, 2011 at 18:58 UTC
sergem
onOct 17, 2011 at 19:45 UTC
The text was updated successfully, but these errors were encountered: