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

wayvnc does not accept non-ASCII characters #119

Closed
nesnera opened this issue Dec 19, 2021 · 4 comments
Closed

wayvnc does not accept non-ASCII characters #119

nesnera opened this issue Dec 19, 2021 · 4 comments

Comments

@nesnera
Copy link

nesnera commented Dec 19, 2021

On PinePhone I run wayvnc from the terminal (ssh) this way # su manjaro -c "XDG_RUNTIME_DIR=/run/user/1000 wayvnc 0.0.0.0 &" Everything works as expected except for non-ASCII characters. For example, if I want to send an SMS containing the word "špíčků" (Czech), I can type it on the virtual keyboard. From the laptop keyboard I can only type "pk" see the picture.
image

The PinePhone terminal will display:

ERROR: Failed to look up keyboard symbol: scaron
ERROR: Failed to look up keyboard symbol: scaron
ERROR: Failed to look up keyboard symbol: iacute
ERROR: Failed to look up keyboard symbol: iacute
ERROR: Failed to look up keyboard symbol: ccaron
ERROR: Failed to look up keyboard symbol: ccaron
ERROR: Failed to look up keyboard symbol: uring
ERROR: Failed to look up keyboard symbol: uring

Client - TurboVNC | KRDC

@any1
Copy link
Owner

any1 commented Dec 19, 2021

Have you tried setting --keyboard=cz?

@nesnera
Copy link
Author

nesnera commented Dec 20, 2021

Tried, but with the wrong value - cs_CZ.😂 I can write non-ASCII chars with cz without problems.👍

However, I encountered a problem with the clipboard. (Content with non-ASCII characters is correct. Should I create a new issue?)

Moreover, the behaviour after connecting to PP varies depending on the client used. (I normally use Parcellite, but turning it on/off has no effect.) I use the string špíčků for testing.

both:

  • clipboard content with non-ASCII characters cannot be inserted into PP
  • the content of the clipboard from PP is transferred to the notebook
  • the clipboard within PP always works well

KRDC:

  • Laptop > PP: when inserted into the clipboard, the clipboard content is inmediatly transformed into ?pí?k?
  • PP > notebook: the text is transformed into Å¡píÄ�ků

TurboVNC:

  • Laptop > PP: the transformation of the clipboard content to ?p�?k? occurs after switching to TuroVNC
  • PP > notebook: špíčků (it's correct 🎉)

@any1
Copy link
Owner

any1 commented Dec 20, 2021

Rfb CutText only supports latin-1 and we don't implement extended clipboard encoding. See: https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#clientcuttext and https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#extended-clipboard-pseudo-encoding.

@nesnera
Copy link
Author

nesnera commented Dec 20, 2021

Any wish list since it's Christmas? 😇 🤣

@any1 any1 closed this as completed Jan 2, 2022
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