delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/04/17:56:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 4 Jan 2001 23:55:13 +0100 (MET)
From: lw AT computerwuerfel DOT de
Message-Id: <200101042255.XAA23639@post.webmailer.de>
Subject: AW: Using German Umlauts with bash
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id RAA11105

Klaus, Gerrit,

 >>  >What can/must i do so "ls" (and maybe other tools/commands)
 >> also displays the
 >>  >German umlauts correct.
 >>
 >> Use "ls -N" or "ls --literal" (see ls --help), then the output
 >> is ok. (At least for ls)
 >>
 >
 >Sorry, but this does not work for me, i still get the output with
 >the ? instead of the correct umlauts.

Strange. This is the output on my W2k machine:
-----------------------------------------------------------------
lw AT SPAHIS /usr/local/test
$ touch test-äöüß

lw AT SPAHIS /usr/local/test
$ ls -l
total 0
-rw-r--r--   1 lw       Kein            0 Jan  4 22:38 test-????

lw AT SPAHIS /usr/local/test
$ ls -lN
total 0
-rw-r--r--   1 lw       Kein            0 Jan  4 22:38 test-äöüß

lw AT SPAHIS /usr/local/test
$ ls --version
ls (GNU fileutils) 3.16
-----------------------------------------------------------------

The same happens on my Win98 PC.
Did you perhaps type "ls -n" instead of "ls -N" ?

Just an experiment: type "ls -b" and see if the "funny chars" are
quoted then.

lw AT SPAHIS /usr/local/test
$ ls -lb
total 0
-rw-r--r--   1 lw       Kein            0 Jan  4 22:38 test-\344\366\374\337


Bei mir funzts, Gerrit... ;-)

- Lars


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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