Bug 24483

Summary: xprop should display UTF8_STRING properties as text
Product: xorg Reporter: Alan Coopersmith <alan.coopersmith>
Component: App/xpropAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: enhancement    
Priority: medium    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.