This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: sed converts 8-bit input text to 16-bit (Unicode-16?) characters - how to suppress that?
- From: "Michael Moser" <michael dot moser at sunrise dot ch>
- To: <cygwin at cygwin dot com>
- Date: Mon, 30 Mar 2009 17:53:05 +0200
- Subject: RE: sed converts 8-bit input text to 16-bit (Unicode-16?) characters - how to suppress that?
- Reply-to: <michael dot moser at sunrise dot ch>
> -----Original Message-----
> From: cygwin-owner@cygwin.com
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Corinna Vinschen
> Sent: Montag, 30. März 2009 14:11
> To: cygwin@cygwin.com
> Subject: Re: sed converts 8-bit input text to 16-bit
> (Unicode-16?) characters - how to suppress that?
> > ...
> This is very likely not Cygwin's sed. Do you have another
> sed in $PATH by any chance?
I searched and did find another sed on my disk, but that was not in
the path. So - yes - I *am* using cycwin's sed.
> I tried with input files
> containing german umlauts and sed does not convert to wide
> char and it does not produce a BOM marker at the start of the file.
Maybe that conversion comes from me redirecting the output to a file
using
'sed {options} > filename.ext' ?!? I'll have to verify that!
There is no option to explicitly specify an output file, is there?
Michael
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/