[GH-ISSUE #1226] Non-ASCII characters replaced with ? when pasting text #989

Open
opened 2026-05-05 07:21:29 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @NicolasGoeddel on GitHub (Jul 13, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1226

Describe the bug
When copy-pasting text consisting of non-ASCII characters the characters will be replaced by ?. This happens in most of the application but not all. I can for example copy an ü on Ubuntu-1 and pasting it into VSCode on Ubuntu-2 without a problem. But when I try to paste it into gedit I only get a ? out of it.

To Reproduce

Steps to reproduce the behavior:

  1. Install barrier on two Ubuntu machines.
  2. Copy ü on machine 1 and paste it in machine 2.
  3. In most applications (gedit, firefox, thunderbird, ...) you will get a ? instead of a ü.

Expected behavior
When pasting special characters it should just work.

Desktop (please complete the following information):

  • OS: Ubuntu 20.10 with Gnome on XServer on the one side and Ubuntu 21.04 with Gnome on XServer on the other side.
  • Barrier version 2.3.2+dfsg-1build1 on both sides

Additional context
I already reported that issue to Synergy. Maybe you can find the solution there already. I am not sure: https://github.com/symless/synergy-core/issues/6660
I think there is a difference between GTK2 and GTK3 applications. Maybe that can help you.

Originally created by @NicolasGoeddel on GitHub (Jul 13, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1226 **Describe the bug** When copy-pasting text consisting of non-ASCII characters the characters will be replaced by `?`. This happens in most of the application but not all. I can for example copy an `ü` on Ubuntu-1 and pasting it into VSCode on Ubuntu-2 without a problem. But when I try to paste it into gedit I only get a `?` out of it. **To Reproduce** Steps to reproduce the behavior: 1. Install barrier on two Ubuntu machines. 2. Copy `ü` on machine 1 and paste it in machine 2. 3. In most applications (gedit, firefox, thunderbird, ...) you will get a `?` instead of a `ü`. **Expected behavior** When pasting special characters it should just work. **Desktop (please complete the following information):** - OS: Ubuntu 20.10 with Gnome on XServer on the one side and Ubuntu 21.04 with Gnome on XServer on the other side. - Barrier version 2.3.2+dfsg-1build1 on both sides **Additional context** I already reported that issue to Synergy. Maybe you can find the solution there already. I am not sure: https://github.com/symless/synergy-core/issues/6660 I think there is a difference between GTK2 and GTK3 applications. Maybe that can help you.
Author
Owner

@torusJKL commented on GitHub (Jul 25, 2021):

This also reproduces with a Windows 10 machine as the client (2.3.3-release-3395cca9) and Ubuntu 20.04 (snap 2.3.3-2-gbbd1accb) as the server.

<!-- gh-comment-id:886198190 --> @torusJKL commented on GitHub (Jul 25, 2021): This also reproduces with a Windows 10 machine as the client (2.3.3-release-3395cca9) and Ubuntu 20.04 (snap 2.3.3-2-gbbd1accb) as the server.
Author
Owner

@cameraman-pritam commented on GitHub (Aug 13, 2021):

I was also with the same problem .

<!-- gh-comment-id:898171495 --> @cameraman-pritam commented on GitHub (Aug 13, 2021): I was also with the same problem .
Author
Owner

@NicolasGoeddel commented on GitHub (Oct 6, 2021):

Looks like this was already fixed with this commit:
cad92e89d0

Now waiting for the next release :-)

<!-- gh-comment-id:936770176 --> @NicolasGoeddel commented on GitHub (Oct 6, 2021): Looks like this was already fixed with this commit: https://github.com/debauchee/barrier/commit/cad92e89d004bc915441b01dcab0b3b89564e80c Now waiting for the next release :-)
Author
Owner

@NicolasGoeddel commented on GitHub (Oct 6, 2021):

Seems also to be a duplicate of https://github.com/debauchee/barrier/issues/344

<!-- gh-comment-id:936773121 --> @NicolasGoeddel commented on GitHub (Oct 6, 2021): Seems also to be a duplicate of https://github.com/debauchee/barrier/issues/344
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#989
No description provided.