otaylor at redhat.com
Sat Sep 17 15:45:37 PDT 2005
On Sat, 2005-09-17 at 19:38 +1000, Russell Shaw wrote:
> The ICCCM is a bit unclear on what text encodings to use,
> such as for XSetWMName().
> void XSetWMName(display, w, text_prop)
> Display *display;
> Window w;
> XTextProperty *text_prop;
> ICCCM 126.96.36.199 says it is an "uninterpreted" string. Does this mean it should
> be sent to the X server as 8-bit english ascii, or 32-bit unicode?
Maybe read the next paragraph?
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.
And 2.7.1 in fact defines STRING and COMPOUND_TEXT.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the xorg