Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thai string is not displayed properly #1339

Open
veer66 opened this issue Mar 19, 2024 · 2 comments
Open

Thai string is not displayed properly #1339

veer66 opened this issue Mar 19, 2024 · 2 comments

Comments

@veer66
Copy link

veer66 commented Mar 19, 2024

I didn't hit space bar, but spaces were added to Thai string, which confused me.

lem-thai-s.mp4

I use GNOME Terminal 3.44.0. It doesn't have this issue when I typed the same string in Bash shell.

@vindarel
Copy link
Collaborator

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).

@veer66
Copy link
Author

veer66 commented Mar 23, 2024

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)

You don't need to check this picture if your computer display Thai text properly.

Handling Thai and French text here is fundamentally different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants