[GH-ISSUE #761] Multi-byte chars in monitor config causes error #595

Open
opened 2026-05-05 06:44:42 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @h2yk on GitHub (Jun 21, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/761

Operating Systems

Server: Windows 10 Pro 1909

Client: Archlinux (Current)

I checked the server on Linux too.

Barrier Version

2.3.2

Steps to reproduce bug

On server,

  1. Set language to Japanese
  2. Add new display
  3. Start server
  4. Error!
  • If Windows is the server:
[2020-06-22T06:14:45] ERROR: cannot read configuration "C:/Users/*****/AppData/Local/Temp/Barrier.XhfGqn": read error: line 2: invalid character 0xffffff96
  • If Linux is the server:
[2020-06-22T06:23:12] ERROR: cannot read configuration "/tmp/Barrier.NiIHeA": read error: line 2: invalid character 0xffffffe5

Other info

Actually, I can't input Display name using Japanese IME (Japanese name is not allowed maybe?)
I don't know whether Japanese chars in names are allowed or not, but the default name of the new display is "名前なし", which contains them that causes an error.

Originally created by @h2yk on GitHub (Jun 21, 2020). Original GitHub issue: https://github.com/debauchee/barrier/issues/761 ### Operating Systems ### Server: Windows 10 Pro 1909 Client: Archlinux (Current) I checked the server on Linux too. ### Barrier Version ### 2.3.2 ### Steps to reproduce bug ### On server, 1. Set language to Japanese 2. Add new display 3. Start server 4. Error! * If Windows is the server: ``` [2020-06-22T06:14:45] ERROR: cannot read configuration "C:/Users/*****/AppData/Local/Temp/Barrier.XhfGqn": read error: line 2: invalid character 0xffffff96 ``` * If Linux is the server: ``` [2020-06-22T06:23:12] ERROR: cannot read configuration "/tmp/Barrier.NiIHeA": read error: line 2: invalid character 0xffffffe5 ``` ### Other info ### Actually, I can't input Display name using Japanese IME (Japanese name is not allowed maybe?) I don't know whether Japanese chars in names are allowed or not, but the default name of the new display is "名前なし", which contains them that causes an error.
Author
Owner

@h2yk commented on GitHub (Jun 21, 2020):

Checked the latest snapshot 2393393b and same results.

<!-- gh-comment-id:647186868 --> @h2yk commented on GitHub (Jun 21, 2020): Checked the latest snapshot `2393393b` and same results.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 19, 2020):

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:695146221 --> @github-actions[bot] commented on GitHub (Sep 19, 2020): This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@p12tic commented on GitHub (Jan 10, 2021):

Let's not close valid bugs without a valid reason.

<!-- gh-comment-id:757532807 --> @p12tic commented on GitHub (Jan 10, 2021): Let's not close valid bugs without a valid reason.
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#595
No description provided.