Thai string is not displayed properly
I didn't hit space bar, but spaces were added to Thai string, which confused me.
https://github.com/lem-project/lem/assets/370688/e60327fa-067e-43fa-812f-f286ff8ef3ab
I use GNOME Terminal 3.44.0. It doesn't have this issue when I typed the same string in Bash shell.
And what is your Lem version? I think I initially had this issue with french accentuated letters, but it's ok now (I am following master).
And what is your Lem version?
I pulled main branch 4 days ago
I think I initially had this issue with french accentuated letters, but it's ok now (I am following master).
A French letter with a diacritic marker uses only one codepoint.
* (coerce "é" 'list)
(#\LATIN_SMALL_LETTER_E_WITH_ACUTE)
While one Thai block can take up to 3 codepoints.
* (coerce "ปี่" 'list)
(#\THAI_CHARACTER_PO_PLA #\THAI_CHARACTER_SARA_II #\THAI_CHARACTER_MAI_EK)
Handling Thai and French text here is fundamentally different.