zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Cc: Wolfgang Hukriede <whukriede@googlemail.com>
Subject: Re: Echoing of 8-bit-characters broken after 4.3.2?
Date: Sat, 28 Feb 2009 15:01:31 -0800	[thread overview]
Message-ID: <090228150131.ZM3831@torch.brasslantern.com> (raw)
In-Reply-To: <200902282349.55759.arvidjaar@gmail.com>

} > True, but setting LANG to "is_IS.ISO8859-1" once and then setting it
} > to anything else seems to do the trick as well:
} >   > export LANG=is_IS.ISO8859-1
} >   > date
} >
} >   lau 28 feb 2009 21:17:50 CET
} >
} >   > export LANG=nada
} >   > date
} >
} >   Sat Feb 28 21:24:36 CET 2009
} >
} > Eight-bit-chars still work.
} 
} setlocale() failed so old value (is_IS.ISO8859-1) remains in effect.

In more detail, what's happening is that the variable is no longer in
the environment, so it's not inherited by "date", even though zsh is
still using the previous local.

However, the deeper problem is that is_IS.ISO8859-1 is probably the
wrong value in the first place.  I found it by tab-completing thus:

zsh% LANG=IS<TAB>

but on a closer look there are a whole lot of possible alternatives.
I'm guessing that perhaps one of de_AT.iso88591 or de_DE.iso88591 is
more correct, but you should look through the list yourself.


  reply	other threads:[~2009-02-28 23:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28 20:31 Wolfgang Hukriede
2009-02-28 20:49 ` Andrey Borzenkov
2009-02-28 23:01   ` Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-28 22:00 Wolfgang Hukriede
2009-03-01  0:12 ` Phil Pennock
2009-02-28 19:52 Wolfgang Hukriede
2009-02-28 20:40 ` Andrey Borzenkov
2009-02-28  8:35 Wolfgang Hukriede
2009-02-28 17:53 ` Bart Schaefer
2009-02-28 19:07   ` Andrey Borzenkov
2009-02-28 19:19     ` Bart Schaefer
2009-02-28 19:29       ` Andrey Borzenkov

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=090228150131.ZM3831@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=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).