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