/bin/ls incorrectly displays names of files on UTF-8 locales

"Alex Deiter" <[email protected]>
Newsgroups gmane.os.freebsd.devel.internationalization
Organization MTS Komi
Message-ID <[email protected]>
/bin/ls incorrectly displays names of files on UTF-8 locales
(ports/misc/utf8locale):

$ locale
LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC="ru_RU.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=ru_RU.UTF-8

$ touch проба
$ ls -l проба
-rw-r--r--  1 test  test  0 19 ноя 15:17 п▒?оба

However ls | cat (ls|less, ls|sort, etc) works correctly:

$ ls -l проба | cat
-rw-r--r--  1 test  test  0 19 ноя 15:17 проба

Why ?

All other programs from /bin and /sbin work correctly.

Thanks!


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-i18n
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.