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

Multi-byte input does not work properly, causing the notation to not match the input, resulting in incorrect editing. #4512

Closed
Yuutakasan opened this issue Jun 11, 2021 · 4 comments

Comments

@Yuutakasan
Copy link

Copying and pasting the following characters into a form, and then typing or deleting half-width characters after the following characters causes a strange phenomenon.

It is hard to explain in words, but it seems that the middle of multi-byte characters are deleted, and single-byte characters that should have been deleted are still displayed.

ああ⇒ああ⇒ああaa

The following is the form just after copying and pasting. Normally, after pasting, the input position on the keyboard is supposed to be right after the pasted character, but since the input position is at the end of the multibyte character, it is behaving strangely at this point.

https://ace.c9.io/#nav=embedding
image

@Yuutakasan Yuutakasan changed the title Multi-byte input does not behave properly. Multi-byte input does not work properly, causing the notation to not match the input, resulting in incorrect editing. Jun 11, 2021
@thammawat-s
Copy link

In Thai as well. If you try to copy and paste below, you will see cursor is far behind the sentence.

ขั้นสูงขั้นขึ้น ขั้นสูงขั้นขึ้น ขั้นสูงขั้นขึ้น

@Yuutakasan
Copy link
Author

It's not properly supported in other languages yet.

@github-actions
Copy link

This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@whazor
Copy link
Contributor

whazor commented May 30, 2023

I think this ticket is a duplicate of #460, if not please inform me how this issue is different.

@whazor whazor closed this as completed May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Wide Character support
Awaiting triage
Development

No branches or pull requests

4 participants