I've been trying to get my locales straightened out. I want to use [EMAIL PROTECTED] (ISO8859-15) as my default encoding. I originally followed the Gentoo Localization Guide and defined the following locales in /etc/locales/build:
en_us/ISO-8859-1 en_US.ISO-8859-15/ISO-8859-15 en_US.UTF-8/UTF-8 nl_NL/ISO-8859-1 [EMAIL PROTECTED]/ISO-8859-15 nl_NL.UTF-8/UTF-8 rebuilt glibc (again) and everything was kinda OK, except that 1) GDM was displaying in English, so clearly some global setting prior to loading the user desktop was set to English; 2) "random" programs, usually when run from a su - terminal, reported that the locale was not recognized, and were defaulting to C. This continued to occur even after I put export LANG="[EMAIL PROTECTED]" in root's .bashrc (it had originally been set to en_US something, as an additional check against remembering that any given program was being run as root and to be careful). Then I found a how-to on the Wiki: http://gentoo-wiki.com/HOWTO_Create_an_UTF-8_enabled_system . Of course, I didn't so much want UTF8 as I did ISO8859-15 (I've not found UTF, which I used previously, all it's cracked up to be, frankly, as the relative lack of applications that support it as opposed to the ISO8859 encodings seemed to cause the stated benefits to evaporate). But what I did find in the wiki article was this new (to me) information: "Now you should create /etc/env.d/02locale file, specifying the locales to use. You can add one or two different values usually, but for european countries with euro currency you need to add a third. LANG=it_IT.UTF-8 LC_ALL=it_IT.UTF-8" I didn't have an /etc/env.d/02locale file, so I created one: LANG=nl_NL.ISO-8859-15 LC_ALL=nl_NL.ISO-8859-15 So now, GDM says "Welkom bij &(hostname)" instead of "Welcome to $(hostname)", and the buttons on the side say things like "Taal" instead of "Language". So I've done something right. But I've also done something wrong: emerge -av splashutils splash-themes-livecd splash-themes-gentoo perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "nl_NL.ISO-8859-15", LANG = "[EMAIL PROTECTED]" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "nl_NL.ISO-8859-15", LANG = "nl_NL.ISO-8859-15" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "nl_NL.ISO-8859-15", LANG = "nl_NL.ISO-8859-15" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). $LANGUAGE ? Where am I supposed to set that? And what's the syntax? Perl seems to be the only one upset by this; why? And where do I set the actual locale, since none of all of these settings seem to be what the system (or Perl) is looking for? It's not a crisis (everything seems to be working nonetheless), but I would like to straighten this out (even if it means going to UTF8). Thanks for any help, Holly -- gentoo-user@gentoo.org mailing list