delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Ralf <wiesweg AT tacos-gmbh DOT de> |
Subject: | Re: Internal echo of shell beaves (sometimes) different to external echo |
Date: | Fri, 20 Jul 2012 12:09:00 +0000 (UTC) |
Lines: | 24 |
Message-ID: | <loom.20120720T140534-494@post.gmane.org> |
References: | <loom DOT 20120719T162931-952 AT post DOT gmane DOT org> <50086B4A DOT 6090801 AT laposte DOT net> <loom DOT 20120720T084207-511 AT post DOT gmane DOT org> <20120720082452 DOT GV31055 AT calimero DOT vinschen DOT de> <loom DOT 20120720T122137-881 AT post DOT gmane DOT org> <CAHWeT-bUM0eud4ht9RO-tcECmQMLXH2k4EEuVXrr7QqXUG=6Hg AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Andy Koppe <andy.koppe <at> gmail.com> writes: > > It's because setting LC_ALL in a bash script is too late for the bash > process itself, which will be using the default C.UTF-8 locale unless > something else is set when bash is invoked. > Now I understand. Setting LC_ALL before calling ttt.sh works: C:\>set LC_ALL=de_DE C:\>bash ttt.sh CYGWIN_NT-6.0-WOW64 WIESWEG 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin Rücken 0000000 R ü c k e n \r \n 0000010 Rücken 0000000 R ü c k e n \n 0000007 Rücken 0000000 R ü c k e n \n 0000007 Thanks! -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |