X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BLU113-W38F1ADA867815733D064D4BE8D0@phx.gbl>
From: Mike Marchywka <marchywka@hotmail.com>
To: <michael.moser@sunrise.ch>, <cygwin@cygwin.com>
Subject: RE: sed converts 8-bit input text to 16-bit (Unicode-16?)  	characters  - how to suppress that?
Date: Mon, 30 Mar 2009 12:02:33 -0400
In-Reply-To: <6B8970CA2CEC4251883E94FAA30B67D1@SEMENTINA>
References: <49D0BF21.9000304@gmail.com>  <6B8970CA2CEC4251883E94FAA30B67D1@SEMENTINA>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



----------------------------------------
> From: michael.moser@sunrise.ch
> To: cygwin@cygwin.com
> Subject: RE: sed converts 8-bit input text to 16-bit (Unicode-16?) charac=
ters - how to suppress that?
> Date: Mon, 30 Mar 2009 17:56:58 +0200
>
>
>> -----Original Message-----
>> From: cygwin-owner@cygwin.com
>> [mailto:cygwin-owner@cygwin.com] On Behalf Of Dave Korn
>> Sent: Montag, 30. M=E4rz 2009 14:46
>> To: cygwin@cygwin.com
>> Subject: Re: sed converts 8-bit input text to 16-bit
>> (Unicode-16?) characters - how to suppress that?
>>> ...
>> Another possibility is that wordpad or notepad has tried to
>> be clever and gone and unexpectedly saved the original source
>> file in UTF16. Did you verify the original source file in a
>> hexeditor too, Michael?
>
> Yes - I did. The input is stricly one byte/octet per character and
> starts with
> "4e 61 6d 65 09 ..." (=3D "Name...")
>
> The output starts with:
> "ff fe 4e 00 61 00 6d 00 65 00 09 00 ... "
>

try " sed --version "


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

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail=AE.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=3DTXT_MS=
GTX_WL_HM_express_032009#colortheme

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

