This is the mail archive of the cygwin@sources.redhat.com 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]

AW: Using German Umlauts with bash


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@SPAHIS /usr/local/test
$ touch test-äöüß

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

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

lw@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@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


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