Date: Thu, 20 Nov 2003 21:47:33 +0300 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: <003001c3af96$c2336850$6701320a@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?003001c3af96$c2336850$6701320a>