Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: various weirdnesses with unicode support

David =?utf-8?B?R8OzbWV6?= wrote:
> Hi Mikael ;),
> On Sep 07 at 10:30:24, Mikael Magnusson wrote:
> > * Having zsh in utf-8 locale but the terminal inputting for example
> > ISO-8859-1 makes zsh enter some weird state where
> Yep, i noticed too this one. It becomes necessary to logout, resetting
> the terminal doesn't fix it. From your list, i think this is the
> most serious problem.

It might be because the multibyte input state never gets reset
(getrestchar() in zle_main.c).  How does this manifest itself?  Are you
unable even to generate a new line?  If you can, resetting the state for
each line would be enough.  Otherwise we could time out multibyte
characters and return, for example, a '?'.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


Messages sorted by: Reverse Date, Date, Thread, Author