Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Echoing of 8-bit-characters broken after 4.3.2 (solved)
- X-seq: zsh-workers 26654
- From: Wolfgang Hukriede <whukriede@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Echoing of 8-bit-characters broken after 4.3.2 (solved)
- Date: Sun, 1 Mar 2009 10:57:53 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=rMGKYjkUdUMeqYRCrBNkCEFv5D58w/gBqMyd+syHvdk=; b=nzyN1Fr6Pxf3gaYMm5Pr9ii82untIhYeorHeJF7fvo9chLiQzzDy70W2XFL8EWpTgv bCt0TBEKQeu7HByC4D1dHsQwT9zddbWJmVCekLtfJGQFbp/f2zeyI4N9ouWEiKxgjI9h c5Hp/QAV7ReccQ0j5+PruR/zYwp5mzjzPHtTs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Uheg75yKiGR52XCv3lUhQTVUMO1UNb+mwUsW65oxO5DwA5bjcGbxXmCCN6XrkN7grF ely/+jsjZ+KP02oDFd576oT3z5yzASbwcZbmxfG44oWeobSxZNASE/9Lw1PGWbRdleaR ndxl/SlQK25gmWBStfhJnKMEHJCb9HfBgbVb8=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Special thanks to Phil Pennock who made me see the light. Indeed it
suffices to
export LC_CTYPE=en_US.ISO8859-1
to get the old behavior back with 8-bit-chars echoed unchanged.
Tab-completion works also. This is for a shell with multibyte support
(--enable-multibyte) compiled in.
Bart, setting LANG would definitely be overkill, because I do not want
message language, time-format etc. to be affected. (FWIW, not even
a change to the collation sequence).
Now, since this is a silent change under the hood and I cannot believe
to be the only one to be hurt by it, may I suggest to place a hint
into the man page (or maybe at least the faq)? Something like (in
zshparams):
LC_CTYPE <S>
This variable determines the locale category for character
handling functions. If you want 8-bit-characters echoed back
and working tab completion on a system which does not use
utf-8, consider to set the locale appropriately, e.g. export
LC_CTYPE=en_US.ISO8859-1.
Many thanks to everyone!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author