Bug 24483 - xprop should display UTF8_STRING properties as text
Summary: xprop should display UTF8_STRING properties as text
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xprop (show other bugs)
Version: git
Hardware: All All
: medium enhancement
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 13:26 UTC by Alan Coopersmith
Modified: 2018-06-17 19:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Alan Coopersmith 2009-10-12 13:26:40 UTC
Currently, xprop displays properties of type UTF8_STRING as a series of
hex bytes:

_NET_WM_ICON_NAME(UTF8_STRING) = 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x40, 0x61, 0x6c, 0x66

If is_utf8_locale() is true, and the string can be validated as valid UTF-8,
it should be printed as a human-readable string.   This will probably require
adding a new property format letter to the set xprop accepts for -format.
Comment 1 Yang Zhao 2009-10-23 16:16:19 UTC
Added by eb64005382abf6262c913a46e6186e019a179d59
Comment 2 Alan Coopersmith 2009-10-23 16:25:58 UTC
Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.