www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/23/12:56:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Tue, 23 Jun 2009 18:55:51 +0200 (CEST)
Message-Id: <200906231655.n5NGtpZE028122@mail.bln1.bf.nsn-intra.net>
From: Thomas Wolff <towo AT towo DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: default codepage
References: <200906221448 DOT n5MEmF1r018726 AT mail DOT bln1 DOT bf DOT nsn-intra DOT net> <200906231345 DOT n5NDj9i1026763 AT mail DOT bln1 DOT bf DOT nsn-intra DOT net> <20090623140643 DOT GB3024 AT calimero DOT vinschen DOT de> <200906231504 DOT n5NF4Xiv027571 AT mail DOT bln1 DOT bf DOT nsn-intra DOT net> <20090623153016 DOT GA4773 AT calimero DOT vinschen DOT de>
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

Eric Blake wrote:
> > 
> > > But wait - yet here's my question: Why is there a difference between 
> > > 	bash --login
> > > and
> > > 	bash
> > > - where in the latter case CP1252 (or the default ANSI codepage) 
> > > *is* still the default?
> 
> It must be that one of your startup scripts is changing the locale environment 
> variables, where --login pulls in a different set of startup scripts than 
> regular shells.  Check the values of LANG, LC_ALL, and friends between your two 
> shells.  And use 'bash -vx --login' to spot where it was changed.
None of LANG or LC_* are set in both cases (could have mentioned that before).
Also, if I move away .profile and .bashrc for a test run, the difference remains.

If you have any other suggestions to test this weird issue, maybe a cygwin 
debug flag or test version, I'll try again next week.

Thomas

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

- Raw text -


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