delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/23/03:22:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Tue, 23 Feb 1999 09:20:55 +0100 (MET)
Message-Id: <199902230820.JAA25667@bond.nexus.se>
From: Henrik Johansson <Henrik DOT Johansson AT Nexus DOT SE>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com
Subject: "Accented" characters
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id DAA11491

I recently installed cygwin release 20.1, and almost everything works
just great!

There is a couple of problems, however.  When I write (in bash)
	ls //c/tmp/l*.txt
the response is
	//c/tmp/l?smig.txt
even though the real filename is "läsmig.txt" (the second character in
the filename has the code 228, or 0xE4...it is an 'a' with two dots).

The second (probably related) problem is: a file contains a list of
filenames on separate lines, and I have a shellscript that reads the
list file line by line, and works on the files one by one.  When it
sees the line
	//c/tmp/läsmig.txt
and sets the variable F to this value, an
	ls "$F"
results in the following error:
	ls: //c/tmp/lSsmig.txt: No such file or directory

Strange, isn't it?

I have done the following at the bash prompt, but nothing is changed:
	set meta-flag On
	set convert-meta Off
	set output-meta On

The FAQ and other information on your web site didn't mention this, so
I thought it was best to send you a letter about it.

Best regards,

/hj

-- 
Name: Henrik Johansson, email:  Henrik DOT Johansson AT Nexus DOT SE,
Phone: +46 18 171811, Fax: +46 18 696516,
Address: Technology Nexus AB, Box 857,
S - 751 08 Uppsala, Sweden

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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