Currently, UTF-8 locale support is not enabled on Gentoo Linux by default (why?) and it is not documented how to enable it. I think, it should be at least mentioned in the installation instructions. I posted an explanation of this problem and a solution in gentoo forums, please follow this URL: http://forums.gentoo.org/viewtopic.php?p=204339
i dont want anything to do with UTF-8 ;)
BTW: I think, the Gentoo documentation needs a short but comprehensive explanation about locales, charsets etc. Currently this topic is not mentioned anywhere.
"standard" locales are created by time of building glibc library. glibc is building this locales prior to localedata/SUPPORTED file ( and some additions defined by Makefile). So if some locale (like cs_CZ.UTF-8) is not mentioned there, the locale definition files are not added to catalogue. User CAN make the required locale definition by using glibc localedef utility, but glibc team cannot guarantee the safe using of this locale. So, 'cause gentoo uses "standard" compilled packages, some locale-coding is not there... Gentoo can patch the SUPPORTED file, but it is the way to hell, 'cause gentoo devs cannot guarantee that this injected locales will work for each USE x program combination. So better is to mention in some (localisation) guide how to "inject" the user locale-coding definition. As mentioned, simple adding the UTF-8 coding for known locale is easy: localedef -i <locale> -f <codepage> <output_file_or_default> fe.: localedef -i cs_CZ -f UTF-8 cs_CZ See the localedata/README file in glibc source directory localedef has no man page but localedef --help can be usefull. Anyway, this bug is not gentoo related and can be closed (maybe with some addition to localisation guide as resolve of this problem)
Agreed.