Hi,
This was reported by a Debian user. Please retain
[email protected] in your responses, so that the Debian
BTS may have a copy of your response.
ICCCM specifies WM_NAME, as an uninterpreted string, in the
latin-1 domain, I think, EWMH specifies _NET_WM_NAME as utf-8; also
Note that freedesktop.org WM spec already defines
_NET_WM_ICON_NAME
_NET_WM_NAME
both of type UTF8_STRING, to be used in preference to WM_ICON_NAME and
WM_NAME. (http://freedesktop.org/Standards/wm-spec/1.3/ar01s05.html
and http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2506989)
Fvwm should support the _NET_WM* properties. Currently, in
ISO-8859-1 locales, when one has (due to a gtk+ bug):
WM_NAME(STRING) = "Bug 160236 - no window title if none of the *_NAME
properties are set - Mozilla Firefox"
_NET_WM_NAME(UTF8_STRING) = 0xe2, 0x82, 0xac, 0x20, 0x2d, 0x20, 0x4d, 0x6f,
0x7a, 0x69, 0x6c, 0x6c, 0x61, 0x20, 0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78
fvwm shows the title "Bug 160236 ..." corresponding to WM_NAME
instead of the one corresponding to _NET_WM_NAME (which has a Euro symbol).
Please see https://bugzilla.mozilla.org/show_bug.cgi?id=315947
for more information.
xprop -id 0x1c000b8 | grep NET_WM_NAME | \
perl -ne 'while (/(0x[0-9a-f]{2})/g) { printf "%c", hex $1 }'
(with the id of the corresponding window) gives:
Bug 315947 – Window title not updated when a character of the title is
outside the WM charset - Iceweasel
but FVMW shows the title from WM_NAME instead, which is completely
different.
manoj
ps:
4.1.2.1. WM_NAME Property
The WM_NAME property is an uninterpreted string that the client
wants the window manager to display in association with the window
(for example, in a window headline bar).
The encoding used for this string (and all other uninterpreted
string properties) is implied by the type of the property. The type
atoms to be used for this purpose are described in section 2.7.1.
http://tronche.com/gui/x/icccm/sec-2.html#s-2.7.1
says:
STRING as a type or a target specifies the ISO Latin-1 character set
plus the control characters TAB (octal 11) and NEWLINE (octal 12).
--
If you continually give you will continually have.
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C