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

Frank Terbeck ft at bewatermyfriend.org
Tue Jan 3 14:06:26 UTC 2012


Morten Bo Johansen wrote:
[...]
>    export LANG=de_DE
>    export LC_ALL=de_DE.utf8
>    
> type in e.g. an umlaut character, type backspace to delete it and notice
> that it is deleted piecemeal by octet. It should happen to you too!

Hum.

I can reproduce this right now. I'm unsure where I went wrong before.
But since mika couldn't get the problem triggered either, I don't feel
too bad. ;)

I'll look into it. Thanks for reporting. (It might take a while, unless
someone else from upstream jumps in.)

Regards, Frank

  For the record:

    a) Start a blank shell (zsh -f)
    b) export LANG=de_DE (*not* POSIX)
       export LC_ALL=de_DE.utf8
       ...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.





More information about the Pkg-zsh-devel mailing list