sed converts 8-bit input text to 16-bit (Unicode-16?) characters - how to suppress that?
Michael Moser
michael.moser@sunrise.ch
Mon Mar 30 17:33:00 GMT 2009
> -----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/
More information about the Cygwin
mailing list