Russell Shaw rjshaw at netspace.net.au
Sat Sep 17 21:59:42 PDT 2005

Owen Taylor wrote:
> 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 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.

In 2.7.1, it says to see the "compound text encoding", which is defined
nowhere in the document. Only after finding:
did i find it was about encoding of multilingual text.
There also seems to be a new STRING_UTF8 format.

More information about the xorg mailing list