Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 12 Apr 2002 13:30:20 +0200 (MEST) From: Markus Brandt To: cygwin AT cygwin DOT com MIME-Version: 1.0 Subject: Wrong output with ls and german umlauts X-Priority: 3 (Normal) X-Authenticated-Sender: #0000782713 AT gmx DOT net X-Authenticated-IP: [217.6.184.194] Message-ID: <3224.1018611020@www50.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello, I'm using Cygwin under a german Windows XP. When listening files or directories which contains umlauts - like ä, ö, ü, Ä, Ö, Ü or ß - th ls command only prints a '?' in place where the umlauts should be. While investigating the newsgroups and FAQs I found that this problem is often mentioned but never solved. I tried the proposed settings in the .inputrc (set convert-meta off; set input-meta on; set output-meta on) as well as different codepages (850 (standard cp), 1250, 1252, 437). Nothing worked. Interestingly the output is correct when piped through another command like cat or less. And the bash shell gives the right output too when using the buildin command echo (see example). How can I ls configure print the right chars? Or is there a bug within it? Here are my testing examples: C:\TEMP\foo>chcp Aktive Codepage: 850. C:\TEMP\foo>dir Verzeichnis von C:\TEMP\foo 12.04.2002 12:29 . 12.04.2002 12:29 .. 12.04.2002 12:29 0 bar_ä_ö_ü 12.04.2002 12:29 0 bar_ae_oe_ue 2 Datei(en) 0 Bytes C:\TEMP\foo>bash bash-2.05a$ echo * bar_ae_oe_ue bar_ä_ö_ü bash-2.05a$ /bin/ls -C bar_ae_oe_ue bar_?_?_? bash-2.05a$ /bin/ls -C | cat bar_ae_oe_ue bar_ä_ö_ü bash-2.05a$ exit exit bash-2.05a$ /bin/ls -C | less -FX bar_ae_oe_ue bar___ bash-2.05a$ /bin/ls -C | less -FXr bar_ae_oe_ue bar_ä_ö_ü Many thanks for your help Markus Brandt -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/