Re: stty utf8

Gerd Knorr
2004-02-16T16:05:27Z

Jamie Lokier <jamie@shareable.org> writes:

> 2. Terminals are not all UTF-8, and some never will be.

> ==> This problem would be very nicely solved with an additional
> terminal flag. We have "stty ocrnl", "onlcr", "igncr" etc. to
> translate between terminal line endings and the unix convention of
> LF at the end of each line. Why not create "stty utf8" so that
> non-UTF-8 terminals and UTF-8 terminals alike can work with a
> Linux convention that all programs enter and display UTF-8? It
> would simplify a lot of things.

It's probably possible to extend luit doing that too. luit comes with
recent xfree86 releases and does utf-8 <=> locale conversion. Right
now it does just the opposite: let people use non-utf8 locales in a
utf-8 xterm.

Gerd

--
Es geht darum, daß ein Haufen Scriptkiddies gerade dabei sind, USENET in
Bunt neu zu erfinden, und sie derzeit einen Haufen Fehler neu machen,
die schon seit 20 Jahren nicht mehr Gegenstand der Forschung sind.
-- Kristian Köhntopp über blogs und blogger