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 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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