Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Are completion and prompt expansion 8-bit clean?
- X-seq: zsh-workers 3298
- From: Andrej Borsenkow <borsenkow.msk@xxxxxx>
- To: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- Subject: Re: Are completion and prompt expansion 8-bit clean?
- Date: Tue, 24 Jun 1997 10:21:29 +0400 (MSD)
- Cc: alainc@xxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <21077.199706232115@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: borsenkow.msk@xxxxxx
On Mon, 23 Jun 1997, Zefram wrote:
> Alain Caron wrote:
> >Subject: Are completion and prompt expansion 8-bit clean?
>
> In one sense, yes: they can handle 8-bit data. In fact, they can handle
> arbitrary binary data. In another sense, no: they do not treat all 8-bit
> data as printable, even when the display will interpret them as Latin-1
> or whatever. Unfortunately, Unix does not provide a way to find out
> what characters are printable on a particular display device, so we have
> to choose in the source which characters zsh will treat as printable.
> No choice can be right for all displays; the current choice is a safe one.
>
> The bug is in Unix; please send the bug report to K.Thompson and
> D.Ritchie, twenty years ago. This bug will be fixed in a future OS[1].
>
Sorry? What about LANG and LC_CTYPE? They existed long ago.
I don't know, which OS is in use; but check your LANG/LC_CTYPE/LC_ALL
settings - they should be appropriate for French locale. If it doesn't
help, it your OS (probably, implementation of ctype functions or
setlocale()) that is broken.
BTW it is documeneted in zshparam(1) - at least for 3.0.4 and 3.1.2.
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------
Messages sorted by:
Reverse Date,
Date,
Thread,
Author