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