Skip to content

Values

The name of this encoding is "COMPOUND_TEXT". When text values are used in the ICCCM-compliant selection mechanism or are stored as window properties in the server, the type used should be the atom for "COMPOUND_TEXT".

Octet values are represented in this document as two decimal numbers in the form col/row. This means the value (col * 16) + row. For example, 02/01 means the value 33.

For our purposes, the octet encoding space is divided into four ranges:

C0octets from 00/00 to 01/15
GLoctets from 02/00 to 07/15
C1octets from 08/00 to 09/15
GRoctets from 10/00 to 15/15

C0 and C1 are "control character" sets, while GL and GR are "graphic character" sets. Only a subset of C0 and C1 octets are used in the encoding, and depending on the character set encoding defined as GL or GR, a subset of GL and GR octets may be used; see below for details. All octets (00/00 to 15/15) may appear inside the text of extended segments (defined below).

[For those familiar with ISO 2022, we will use only an 8-bit environment, and we will always use G0 for GL and G1 for GR.]