Skip to content
New issue

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

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

Already on GitHub? # to your account

rtk.Entry : Not Support Chinese input #23

Open
ZYJ271267600 opened this issue Mar 22, 2024 · 2 comments
Open

rtk.Entry : Not Support Chinese input #23

ZYJ271267600 opened this issue Mar 22, 2024 · 2 comments

Comments

@ZYJ271267600
Copy link

Can it solve the problem that does not support Chinese input

@ErrrikMarrrtinez
Copy link

Can it solve the problem that does not support Chinese input

Hi, there is a small way to fix this:

entry.onkeypress = function(self, event)
    local new_char = utf8.char(("0x%08x"):format(event.keycode & 0x0000FFFF))
    self:insert(new_char)
and

@beautyhawk
Copy link

)

How do I enable Chinese input on macOS?

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

No branches or pull requests

3 participants