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 22:41:00 GMT 2009


> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of Dave Korn
> Sent: Montag, 30. März 2009 23:02
> To: cygwin@cygwin.com
> Subject: Re: sed converts 8-bit input text to 16-bit 
> (Unicode-16?) characters - how to suppress that?
> 
>   BTW please trim the redundant headers... it's really 
> considerate not to post people's email addresses in the body 
> of your post because if you do so they get harvested by spammers.

Ooops - apologies! Thought I routinely did so, but must have
overlooked it this time.
 
>   What terminal/console are you using?  Unicode RXVT by any 
> chance?  How does it behave in other consoles?

THAT rang the bell! I am using PowerShell - as I just double-checked -
that indeed operates in Unicode-16 unless told otherwise. And it came
into play here, because I had simply redirected sed's output to a
file.

Nothing to do with sed at all! Apologies for the wasted bandwidth!

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