Date: Wed, 19 Nov 2003 12:33:54 -0000 From: "Alex Deiter" <tiamat@komi.mts.ru> To: <freebsd-i18n@freebsd.org> Subject: /bin/ls incorrectly displays names of files on UTF-8 locales Message-ID: <007001c3ae99$4c81f340$b901320a@komi.mts.ru>
next in thread | raw e-mail | index | archive | help
/bin/ls incorrectly displays names of files on UTF-8 locales (ports/misc/utf8locale): $ locale LANG=3Dru_RU.UTF-8 LC_CTYPE=3D"ru_RU.UTF-8" LC_COLLATE=3D"ru_RU.UTF-8" LC_TIME=3D"ru_RU.UTF-8" LC_NUMERIC=3D"ru_RU.UTF-8" LC_MONETARY=3D"ru_RU.UTF-8" LC_MESSAGES=3D"ru_RU.UTF-8" LC_ALL=3Dru_RU.UTF-8 $ touch =D0=D2=CF=C2=C1 $ ls -l =D0=D2=CF=C2=C1 -rw-r--r-- 1 test test 0 19 =CE=CF=D1 15:17 =D0=91?=CF=C2=C1 However ls | cat (ls|less, ls|sort, etc) works correctly: $ ls -l =D0=D2=CF=C2=C1 | cat -rw-r--r-- 1 test test 0 19 =CE=CF=D1 15:17 =D0=D2=CF=C2=C1 Why ? All other programs from /bin and /sbin work correctly. Thanks!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007001c3ae99$4c81f340$b901320a>