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

Re: ksh + utf-8

Vladislav Belogrudov <belogrudov_(_at_)_yahoo_(_dot_)_com> wrote:

> I use xterm with utf-8 support and ksh.
> Whenever I start typing fast or editing in some
> non-latin
> language I get randomly squares instead of characters.
> Is utf-8 and pdksh compatible enough?

pdksh's command line editor isn't aware of UTF-8 and assumes that
each byte corresponds to exactly one character.  Yes, it will screw
up and show garbage if you write text that doesn't fit this assumption.

Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de

Visit your host, monkey.org