[Pkg-zsh-devel] Bug#654225: Bug#654225: zsh: Multibyte fails when $LANG.utf variable is not set

Michael Prokop mika at debian.org
Tue Jan 3 14:59:43 UTC 2012


* Frank Terbeck [Tue Jan 03, 2012 at 03:46:09PM +0100]:
> Frank Terbeck wrote:
> [...]
> > I can reproduce this right now. I'm unsure where I went wrong before.

> Now I know.

> The order in which you have to set LANG and LC_ALL is crucial to
> reproduce the issue. And the order in my recipe from the last mail is
> wrong:

> [...]
> >     b) export LANG=de_DE (*not* POSIX)
> >        export LC_ALL=de_DE.utf8
> [...]

> It actually has to be the other way around. So:


>     b) export LC_ALL=de_DE.utf8
>        export LANG=de_DE (*not* POSIX)
>        ...or whatever language you like, just the UTF-8 locale in
>        `LC_ALL' and the non-UTF-8 locale in `LANG'. Both locales
>        should probably exist on your system. So check "locale -a" and
>        update `/etc/locale.gen' and run `locale-gen' if needed.
>     c) Type two multibyte characters, like `ö' (o with diaeresis).
>     d) Type backspace four time.
>     e) See the cursor erase parts of your prompt.
>     f) Rant about locales in your native tongue.

I sadly still can't reproduce it yet, FTR.

regards,
-mika-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20120103/fdf5fcae/attachment.pgp>


More information about the Pkg-zsh-devel mailing list