www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,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 17:56:58 +0200 |
Message-ID: | <6B8970CA2CEC4251883E94FAA30B67D1@SEMENTINA> |
MIME-Version: | 1.0 |
In-Reply-To: | <49D0BF21.9000304@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 14:46 > 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? > > ... > Another possibility is that wordpad or notepad has tried to=20 > be clever and gone and unexpectedly saved the original source=20 > file in UTF16. Did you verify the original source file in a=20 > hexeditor too, Michael? Yes - I did. The input is stricly one byte/octet per character and starts with=20 "4e 61 6d 65 09 ..." (=3D "Name<TAB>...") The output starts with: "ff fe 4e 00 61 00 6d 00 65 00 09 00 ... " 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |