This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: default codepage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]