From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24879 invoked by alias); 20 Jul 2012 10:47:01 -0000 Received: (qmail 24866 invoked by uid 22791); 20 Jul 2012 10:46:59 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 Jul 2012 10:46:46 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SsAjN-0006kX-2i for cygwin@cygwin.com; Fri, 20 Jul 2012 12:46:45 +0200 Received: from dslb-088-078-136-020.pools.arcor-ip.net ([88.78.136.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jul 2012 12:46:45 +0200 Received: from wiesweg by dslb-088-078-136-020.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jul 2012 12:46:45 +0200 To: cygwin@cygwin.com From: Ralf Subject: Re: Internal echo of shell beaves (sometimes) different to external echo Date: Fri, 20 Jul 2012 10:47:00 -0000 Message-ID: References: <50086B4A.6090801@laposte.net> <20120720082452.GV31055@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00437.txt.bz2 My problem is not that the script is in ISO-8859-1, nor that the strings or ttt.txt are in ISO-8859.1. They have to be in ISO-8859-1 because all my scripts are in ISO-8859-1 and they are used together with Windows-Programs (in the DOS-Box) which read and write only ISO-8851-1. My Problem is to handle in Shell-Scripts strings which are coded in ISO-8851 (and line-endings which depend on relative/absolute filenames, mounting and so on) without rewriting all the stuff. So what't the best setting in cygwin to echo ISO-88591? I still don't unterstand why the internal echo behaves in a different way from the external echo. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple