[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ksh + utf-8
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ksh + utf-8
- From: naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de (Christian Weisgerber)
- Date: Wed, 17 Aug 2005 16:05:30 +0000 (UTC)
- Newsgroups: list.openbsd.misc
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
> 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