Mailinglist Archive: opensuse-m17n (31 mails)

< Previous Next >
Re: [m17n] UTF-8 and konsole, ssh
  • From: Mike FABIAN <mfabian@xxxxxxx>
  • Date: Mon, 3 Jan 2005 17:28:40 +0000 (UTC)
  • Message-id: <s3twtuuifqy.fsf@xxxxxxxxxxxxxxxx>
Filippos Papadopoulos <filip@xxxxxxxxx> さんは書きました:

> BTW i lookes at etc/sysconfig file through YaST editor and there is an
> option for Automatically detect UTF-8. Has that anything to do with
> LUIT ?


This option was introduced for the following case:

You are using a terminal on a legacy system which does not support
UTF-8, for example your Solaris system or an old SuSE Linux system.
Now you log into SuSE Linux 9.2 which sets an UTF-8 locale by default.
This will not work well in the legacy terminal. So you have to do
set a legacy locale like

export LANG=el_GR

manually in your legacy terminal to get make it work correctly.

But if you have AUTO_DETECT_UTF8="yes", the SuSE 9.2 tries to detect
whether the terminal used for login supports UTF-8 or not and if it
doesn't support UTF-8 it automatically tries to set an appropriate
legacy locale for you. This is a bit of guesswork and may not always

I don't really like that hack and don't recommend to use it.
Especially because of the following annoying problem:

You log in with a terminal which *does* support UTF-8. The auto
detection works by printing a German ö (o-Umlaut) in UTF-8 on the
terminal, then checking the cursor position and then removing the ö
(o-Umlaut) again. If your connection is slow (Modem or DSL), you can
actually see the ö appearing and disappearing again.

If you are in a hurry and continue typing while this auto detection is
running, the auto detection fails and thinks you terminal does not
support UTF-8 although it does.

So if you use this auto detection, stop typing for a second after
logging in using a slow connection.

Mike FABIAN <mfabian@xxxxxxx>

< Previous Next >