bug-gnulib
[Top][All Lists]
Advanced

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

Re: UTF-8 support (was: quote characters in stds)


From: Bruno Haible
Subject: Re: UTF-8 support (was: quote characters in stds)
Date: Mon, 11 Jul 2005 13:12:55 +0200
User-agent: KMail/1.5

Paul Eggert wrote:
> I read your email containing accented letters with GNU Emacs 21.4 and
> Gnus 5.10.6, a combination that supports UTF-8.

The UTF-8 support in Emacs 21.4 is minimal. Some people recommend the
emacs-unicode-2 branch of the Emacs CVS. (Haven't tried it.)

> whose xterm doesn't support UTF-8.  Now that Debian sarge is stable I
> will look into switching to a better xterm, but this will take some of
> my time (I'm not looking forward to upgrading all my machines to
> sarge....) and even then I'm not sure things will work (the last time
> I tried uxterm it flaked out on me too often for my comfort).

The fact that "uxterm" is not called "xterm" makes it ignore the .Xdefaults
settings for "xterm". Also you need to be careful about the fonts that
you use with it. I therefore use scripts which invoke xterm. (All of them
expect to be run in an UTF-8 locale, e.g. LC_ALL=en_US.UTF-8.)

======================== xterm-nice ========================
#!/bin/sh
exec /usr/bin/xterm \
  -fn -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 \
  -fw -misc-fixed-medium-r-normal-ja-13-120-75-75-c-120-iso10646-1 \
  -fb -misc-fixed-bold-r-semicondensed--13-120-75-75-c-60-iso10646-1 \
  -sb -sl 1000

======================== xterm-large ========================
#!/bin/sh
exec /usr/bin/xterm \
  -fn -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 \
  -fw -misc-fixed-medium-r-normal-ja-18-120-100-100-c-180-iso10646-1 \
  -fb -misc-fixed-bold-r-normal--18-120-100-100-c-90-iso10646-1 \
  -sb -sl 1000

======================== xterm-efont ========================
#!/bin/sh
exec /usr/bin/xterm \
  -fn -efont-fixed-medium-r-normal--12-120-75-75-c-60-iso10646-1 \
  -fw -efont-fixed-medium-r-normal--12-120-75-75-c-120-iso10646-1 \
  -fb -efont-fixed-bold-r-normal--12-120-75-75-c-60-iso10646-1 \
  -sb -sl 1000

======================== xterm-efont-large ========================
#!/bin/sh
exec /usr/bin/xterm \
  -fn -efont-fixed-medium-r-normal--16-160-75-75-c-80-iso10646-1 \
  -fw -efont-fixed-medium-r-normal--16-160-75-75-c-160-iso10646-1 \
  -fb -efont-fixed-bold-r-normal--16-160-75-75-c-80-iso10646-1 \
  -sb -sl 1000

======================== xterm-efont-huge ========================
#!/bin/sh
exec /usr/bin/xterm \
  -fn -efont-fixed-medium-r-normal--24-240-75-75-c-120-iso10646-1 \
  -fw -efont-fixed-medium-r-normal--24-240-75-75-c-240-iso10646-1 \
  -fb -efont-fixed-bold-r-normal--24-240-75-75-c-120-iso10646-1 \
  -sb -sl 1000

Use the one you like... The efont one has optimal coverage for CJK,
whereas the misc-fixed one is better for Thai, Lao, Amharic & Tigrinya.

Bruno





reply via email to

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