delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/05/14:17:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_RW,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Oleksandr Gavenko <gavenkoa AT gmail DOT com>
Subject: LC_ALL=ru_RU.cp1251 ls -l encoding problem.
Date: Sun, 05 Sep 2010 21:16:30 +0300
Lines: 23
Message-ID: <i60mpv$c76$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019