Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG]select command display in wrong
- X-seq: zsh-workers 53261
- From: safreya <safreya@xxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG]select command display in wrong
- Date: Fri, 20 Dec 2024 14:55:57 +0800
- Archived-at: <https://zsh.org/workers/53261>
- List-id: <zsh-workers.zsh.org>
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