[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detecting an UTF-8 capable terminal emulator
> Now, if I log onto my machine with a non-UTF-8 terminal program, is it
> possible to detect if the terminal emulator understands UTF-8 and
> eventually can tell the script (by setting an environment variable) to
> convert the output to plain old latin1 instead?
There are other solutions to your problem of using a non-UTF-8 terminal
emulator to log into a UTF-8 environment. You can try to use programs
such as "screen" or "luit" to convert the terminal character set on the
fly between the host application and the terminal.
ftp://ftp.uni-erlangen.de/pub/utilities/screen/private/screen-3.9.9beta1.tar.gz
http://www.pps.jussieu.fr/~jch/software/luit/
Markus
--
Markus Kuhn, Computer Lab, Univ of Cambridge, GB
http://www.cl.cam.ac.uk/~mgk25/ | __oo_O..O_oo__
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/