~l. 230: +There are two environment variables that need to be set in order to use +our new UTF-8 locales: <c>LANG</c> and <c>LC_ALL</c> No, only one of them. For details <http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3>. +<pre caption="Demonstration /etc/env.d/02locale"> +<comment>(As always, change "en_GB.UTF-8" to your locale)</comment> +LC_ALL="en_GB.UTF-8" +LOCALE="en_GB.UTF-8" </pre> what's LOCALE? typo? just set: LANG="en_GB.UTF-8" if you want some special settings add: LC_COLLATE="POSIX" LC_MESSAGES="de_DE.UTF-8" (try: LC_COLLATE="C" ls -a LC_COLLATE="en_GB.UTF-8" ls -a )
Indeed, also confirmed by the GNU GLIBC Manual (http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories) I've used LC_ALL as primary variable as it also overrides the LANG setting (which was the original intention of the guide in the first place).