|
From: | Ken Brown |
Subject: | Emacs fails to use default locale |
Date: | Wed, 25 Nov 2009 14:08:22 -0500 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
According to http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.htmlif LC_ALL, LC_CTYPE, and LANG are all either unset or empty, then the implementation-dependent default locale is supposed to be used. My understanding is that this should be done by using setlocale(LC_CTYPE, ""). But emacs's locale initialization seems to just use the environment variables, so it doesn't pick up the default locale if the variables are unset.
Ken
[Prev in Thread] | Current Thread | [Next in Thread] |