malbert@jeeves.shearson.com (Marc Albert) (04/22/91)
According to the ICCCM document that comes with the MIT distribution for X11R4 the atom XA_STRING is of type STRING ISO LATIN 1 (+TAB+NEWLINE) text. Does this imply that the encoding is ASCII or is this defined at all? -- Marc. ===================================================================== Marc Albert Lehman Brothers US Mail 388 Greenwhich Street, New York, NY UUCP ...uunet!shearson.com!malbert Work Phone (212) 464-3061 Home Phone (203) 378-8232
doug@genmri.UUCP (Doug Becker) (04/24/91)
Does this imply that the encoding is ASCII or is this defined at all? Quoting from the ICCCM, section 2.7.1: 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). The spacing interpretation of TAB is context dependent. Other ASCII control characters are explicitly not included in STRING at the present time. I think the answer to your question is no, the encoding is not necessarily ASCII, although it's a pretty safe bet that it's ISO Latin-1 (plus TAB and NEWLINE), if most applications obey the conventions. -- Doug Becker doug@nmri.ge.com crdgw1!sane!doug