Bug 514901 - Setting non-English device name on Windows, Android device shows garbled characters
Summary: Setting non-English device name on Windows, Android device shows garbled char...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 25.12.1
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-21 14:01 UTC by Luo Chu
Modified: 2026-01-21 14:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
device shows in android. (157.26 KB, image/jpeg)
2026-01-21 14:01 UTC, Luo Chu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luo Chu 2026-01-21 14:01:32 UTC
Created attachment 188751 [details]
device shows in android.

SUMMARY
When set the device name in kde connect on microsoft windows, such as Chinese, it can be shown in windows as usual, but in android it will shows like garbled characters. It seems using ISO8859-1 decode a UTF-8 encoded Chinese character.

STEPS TO REPRODUCE
1. Set Windows device name to something chinese in kde connect
2. Windows device name will show garbled characters on Andriod

OBSERVED RESULT
device name shows garbled characters

EXPECTED RESULT
shows like it been set in windows

SOFTWARE/OS VERSIONS
Windows: 
KDE Connect: 25.12.1
Windows 11 Version 23H2
KDE 程序框架: 6.22.0
Qt: 使用 6.10.1,用 6.10.1 构建。
Build ABI: x86_64-little_endian-llp64
Kernel: winnt 10.0.22631

Android:
1.34.4 form Google Play Store

ADDITIONAL INFORMATION
attachment is the screenshot of android side. Windows side device name had been set to "洛初 的 笔记本电脑"

I am not good at English, so I apologize if my expression is confusing.