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

Project does not support Chinese, can only copy, cannot edit, and chat interface does not support Chinese input #364

Open
lologu1 opened this issue Jan 30, 2024 · 6 comments

Comments

@lologu1
Copy link

lologu1 commented Jan 30, 2024

When I try to use the project, I find that it does not support Chinese input. I can only copy and paste Chinese text, but I cannot edit it. Also, the chat interface does not support Chinese input. This makes it difficult for me to use the project effectively.

Steps to reproduce:

Open the project.
Try to type Chinese characters in the text editor.
Try to edit Chinese text that has been copied and pasted into the text editor.
Try to type Chinese characters in the chat interface.
Expected behavior:

I should be able to type and edit Chinese characters in the text editor and chat interface.

Actual behavior:

I am unable to type or edit Chinese characters in the text editor or chat interface.

Additional information:

I am using the latest version of the project.
I have tried using different browsers and operating systems, but the problem persists.
I have searched the project's documentation and online forums, but I have not found any information about how to enable Chinese input.
I would appreciate it if you could help me resolve this issue.

Possible solutions:

Add support for Chinese input in the text editor and chat interface.
Provide a way to switch between different languages in the project.
Provide a workaround that allows users to input Chinese characters, even if it is not natively supported.

@m1k1o
Copy link
Owner

m1k1o commented Jan 30, 2024

There have been multiple attempts at adding Chinese input claiming that it works after their change. But I don't recall them mentioning chat, only the virtual browser.

Related issues: #305 #252 #190 #179

Related PR: #176

@lologu1
Copy link
Author

lologu1 commented Feb 4, 2024

It was my mistake, the chat interface can accept Chinese input. But the virtual browser cannot accept Chinese input.

@lologu1
Copy link
Author

lologu1 commented Feb 4, 2024

I found a Chrome extension: https://chromewebstore.google.com/detail/mclkkofklkfljcocdinagocijmpgbhab that enables users to type in any language (from a large selection of languages) in their browser. However, it is only available as a Chrome extension (with a .crx extension and as such, cannot be used with Firefox (Firefox extensions have a .xpi extension). Could you please integrate this extension into Neko so that users can type in languages other than English on your keyboard?

Thanks,

@ehfd ehfd mentioned this issue Mar 19, 2024
26 tasks
@ehfd
Copy link

ehfd commented Mar 24, 2024

There is a way to send Unicode keysyms literally, being keyboard mapping independent, instead of sending virtual keycodes. Would be appropriate for many languages not using Latin.

@m1k1o
Copy link
Owner

m1k1o commented Mar 24, 2024

The question is how to get proper codes from browser. We use guacamole keyboard, so it looks like they don't handle it well or just differently.

@ehfd
Copy link

ehfd commented Mar 24, 2024

image

Keyboard

On Windows, send a CTRL+ALT+DEL to the remote computer. For all OS, change the keyboard mode here:

Virtual Key Codes: Send a virtual key code to the remote machine. This mode is keyboard mapping dependent

Unicode: Send unicode key presses. This mode is keyboard mapping independent. This mode does not handle long keypresses for app shortcuts.

I think there are two different ways to send keycodes, the latter applicable to this scenario.

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

3 participants