delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/30/16:20:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00
X-Spam-Check-By: sourceware.org
Reply-To: <michael DOT moser AT sunrise DOT ch>
From: "Michael Moser" <michael DOT moser AT sunrise DOT ch>
To: <cygwin AT cygwin DOT com>
Subject: RE: sed converts 8-bit input text to 16-bit (Unicode-16?) characters - how to suppress that?
Date: Mon, 30 Mar 2009 23:20:00 +0200
Message-ID: <77E0B16F21CD445689BAC137E929166F@SEMENTINA>
MIME-Version: 1.0
In-Reply-To: <49D13333.3020806@gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com=20
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Dave Korn
> Sent: Montag, 30. M=E4rz 2009 23:02
> To: cygwin AT cygwin DOT com
> Subject: Re: sed converts 8-bit input text to 16-bit=20
> (Unicode-16?) characters - how to suppress that?
>=20
>   BTW please trim the redundant headers... it's really=20
> considerate not to post people's email addresses in the body=20
> 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.
=20
>   What terminal/console are you using?  Unicode RXVT by any=20
> 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/

- Raw text -


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