[frameworks-solid] [Bug 505913] Product name displayed as garbled text for USB devices with non-ASCII characters

Christoph Cullmann bugzilla_noreply at kde.org
Sun Jun 29 16:33:05 BST 2025


https://bugs.kde.org/show_bug.cgi?id=505913

Christoph Cullmann <christoph at cullmann.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/solid/-/commit/edae7
                   |                            |0e96f3459783cd088b636b60444
                   |                            |54ffaba6
         Resolution|---                         |FIXED

--- Comment #2 from Christoph Cullmann <christoph at cullmann.dev> ---
Git commit edae70e96f3459783cd088b636b6044454ffaba6 by Christoph Cullmann, on
behalf of Wendi Gan.
Committed on 29/06/2025 at 15:30.
Pushed by cullmann into branch 'master'.

Fix garbled USB device properties

Issue:
When connecting to a USB device with some properties (e.g. product,
description, ID_MODEL, ID_SERIAL) containing non-ASCII characters, Solid
displays garbled properties.

Change:
Switch from Latin-1 decoding to UTF-8 decoding when reading device properties.

M  +2    -2    src/solid/devices/backends/shared/udevqtdevice.cpp

https://invent.kde.org/frameworks/solid/-/commit/edae70e96f3459783cd088b636b6044454ffaba6

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list