LC_ALL=ru_RU.cp1251 ls -l encoding problem.
Oleksandr Gavenko
gavenkoa@gmail.com
Sun Sep 5 18:17:00 GMT 2010
As you can see user/group always printed in UTF-8
and discard LC_ALL=cp1251.
$ LC_ALL=ru_RU.cp1251 mintty
mintty> ls
English Ð ÑÑÑкое
mintty> ls -l
иÑого 0
drwx------+ 1 Ð ÑÐ ÒÐ ÑÐ ÑÐ Ð
Ð ÑСÐСâСÐР°СâÐ ÑСÐС⹠РÑСâСÐСÑСâСÐСâÐ ÐСÑРµСâ 0 Ñен
5 21:06 English
drwx------+ 1 sasha Ð ÑСâСÐСÑСâСÐСâÐ ÐСÑРµСâ 0 Ñен
5 21:06 Ð ÑÑÑкое
mintty> ^D
$ LC_ALL=ru_RU.UTF-8 mintty
mintty> ls
English Ð ÑÑÑкое
mintty> ls -l
иÑого 0
drwx------+ 1 ÐдминиÑÑÑаÑоÑÑ ÐÑÑÑÑÑÑвÑÐµÑ 0 Ñен 5 21:06 English
drwx------+ 1 sasha ÐÑÑÑÑÑÑвÑÐµÑ 0 Ñен 5 21:06 Ð ÑÑÑкое
--
Best regards!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list