emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multilingual text in frame


From: Jason Rumney
Subject: Re: multilingual text in frame
Date: 20 Jan 2003 21:30:56 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Jason Rumney <address@hidden> writes:

> It seems from the documentation I can find about XSetWMName (), that
> compound-text is the correct choice for encoding.

On closer reading, maybe not. I had assumed that "Host Portable
Character Encoding" meant compound-text, but apparently the X11R5
spec defines it as "the same for all locales on a machine" but
otherwise leaves it unspecified. So UTF-8 and compound-text would both
be valid choices. Since most X functions (including XSetWMName ())
state in their documentation that "the result is undefined if the
string is not in the Host Portable Character Encoding", it would seem
to be valid for a UTF-8 based X server to not recognize compound-text
encoding properly.

But I can't find any way to find out what the Host Portable Character
Encoding is on a given system. Perhaps Handa-san knows more about the
I18N features of X we could use to convert the string to something
the X server is sure to recognize.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]