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

A problem with protected input box for form #160

Open
small18 opened this issue Feb 11, 2025 · 1 comment
Open

A problem with protected input box for form #160

small18 opened this issue Feb 11, 2025 · 1 comment

Comments

@small18
Copy link

small18 commented Feb 11, 2025

hello.
When I enter other languages such as Chinese in the protected input box,By using the up and down arrows, you can see how many characters there are in total, but when I enter a Chinese character, it will prompt that there are three characters instead of one.

@ethindp
Copy link
Collaborator

ethindp commented Feb 12, 2025

This is definitely a bug, though more a bug with Unicode handling than anything else. The form object is not Unicode aware (but this in theory shouldn't be too hard to fix). Thank you for reporting this!

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