This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LC_ALL=ru_RU.cp1251 ls -l encoding problem.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]