mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1037] Suddenly Chinese Text from Linux to Windows #822
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#822
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devz3r0 on GitHub (Jan 26, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1037
Describe the bug
Chinese text pasted into second device, similar as here:
https://github.com/symless/synergy-core/issues/316
To Reproduce
Steps to reproduce the behavior:
慟彸慣汬楟彮慴汢彥捳灯⡥〧䰵Ⱗ攠敶瑮爧睯敓敬瑣摥Ⱗ〠∩㰾摴㰾灳湡㰾猯慰㹮⼼摴㰾摴㰾灳湡ㄾ㘶〴㈰⼼灳湡㰾琯㹤琼㹤猼慰㹮䍁㈺㨲㔰㌺㩂〳䌺㰲猯慰㹮⼼摴㰾琯㹲⼼扴摯㹹⼼慴汢㹥⼼灳湡㰾猯慰㹮
Expected behavior
copied text, on the second time it works
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
@vrf888 commented on GitHub (Aug 17, 2021):
The same happens when copying from Windows to macOS
@TFWol commented on GitHub (Aug 19, 2021):
@vrf888 Same here
For me, it works when pasting to something like Notes on OSX. I've noticed it depends on the app I'm pasting to.
Although, I have to restart Barrier on both OSX and Windows often to get paste to even work.
@yan12125 commented on GitHub (Aug 20, 2021):
This seems an encoding issue. HTML data sent from Linux to Windows is encoded as UTF-8, while it should be UTF-16. The original can be inspected with Python
@yan12125 commented on GitHub (Aug 20, 2021):
I borrowed a fix from Synergy and sent #1254. Note that the fix is for Linux. The issue between Windows and macOS is most likely a different issue and requires a separate fix. I don't have macOS so I cannot test it.