Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[BUG]select command display in wrong



Hello!

I'd like to report a bug with select command.

E.g.:

    ~ % select opt in 你好 hello;do
    select> echo $opt
    select> break
    select> done
    1) 佃好   2) hello
    ?# 1
    你好
    ~ %


Displayed word is not correct.But `opt` got the correct word.Did encoding conversion occur?

This is my locale setting:

    ~ % locale
    LANG=zh_CN.UTF-8
    LC_CTYPE="zh_CN.UTF-8"
    LC_COLLATE="zh_CN.UTF-8"
    LC_TIME="zh_CN.UTF-8"
    LC_NUMERIC="zh_CN.UTF-8"
    LC_MONETARY="zh_CN.UTF-8"
    LC_MESSAGES="zh_CN.UTF-8"
    LC_ALL=zh_CN.UTF-8






Messages sorted by: Reverse Date, Date, Thread, Author