This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: "C" character set (again)
Andy Koppe wrote:
> There's an important distinction here between the C locale and the
> defaut locale. The C locale is what you get if you don't call
> setlocale at all, whereas the default locale is what you get if you
> call setlocale(LC_FOO, "") and the relevant environment variables are
> all unset or empty.
Ah, hang on then, I didn't get that. In that case it makes sense for the
default locale to be utf8 now in order to help shake out bugs in i18n usage in
stuff that is basically i18n-aware, and would only make sense to switch the c
locale maybe some years in the future when it would be desirable to shake out
the last few entirely-non-locale-aware-at-all bits of code. So yeah; let's
revert it.
cheers,
DaveK