delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/11/09:45:51

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
Message-Id: <199903111444.PAA18425@mail.uni-kiel.d400.de>
From: Bernhard Bruemmer <bbruemmer AT email DOT uni-kiel DOT de>
To: cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 11 Mar 1999 15:45:19 +0100
Subject: sed and umlaut characters
Reply-to: bbruemmer AT email DOT uni-kiel DOT de
X-mailer: Pegasus Mail for Win32 (v3.01d)
MIME-version: 1.0
X-MIME-Autoconverted: from Quoted-printable to 8bit by delorie.com id JAA18795

Hello,
I have a problem using sed to replace umlaut characters in a text 
file. sed works as expected except for capital Ä (ascii 0196) and 
capital Ü (ascii 0220). These two characters remain unchanged. I 
am using Cygwin B20.1, and bash displays umlaut characters 
correctly (although I could't issue the relevant settings in ~./inputrc 
but had to set them via bind in ~./bashrc). The sed command line 
looks like

sed -e s/Ä/&Auml;/g foo.html

I have played around with several quoting variants as well as with 
echo -e "\304" as first argument to the s command, but with no 
results.

I'd be grateful for any suggestions,
Regards,
Bernhard Bruemmer



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