zsh-workers
 help / color / mirror / code / Atom feed
From: Wolfgang Hukriede <whukriede@googlemail.com>
To: zsh-workers@sunsite.dk
Subject: Re: Echoing of 8-bit-characters broken after 4.3.2 (solved)
Date: Sun, 1 Mar 2009 10:57:53 +0100	[thread overview]
Message-ID: <2493fbfb0903010157of50e9b5q1527e4ff0c639110@mail.gmail.com> (raw)

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!


             reply	other threads:[~2009-03-01  9:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-01  9:57 Wolfgang Hukriede [this message]
2009-03-03 20:46 ` Peter Stephenson
2009-03-04  6:28   ` Wolfgang Hukriede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2493fbfb0903010157of50e9b5q1527e4ff0c639110@mail.gmail.com \
    --to=whukriede@googlemail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).