[CentOS] Cannot build custom locale with utf-8 charset

Leonard den Ottolander leonard at den.ottolander.nl
Sun Dec 16 19:11:52 UTC 2012


Hello James,

On Sat, 2012-12-15 at 08:52 -0500, James B. Byrne wrote:
> localedef --no-archive -f UTF-8 -i
> /usr/share/i18n/locales/en_CA at yyyy-mmm-dd en_CA at yyyy-mmm-dd.utf8
> 
> which produces the requisite files without reporting an error but
> which none-the-less insists on using the iso-8859-1 charset:
> 
> LC_ALL=en_CA at yyyy-mm-dd locale charmap
> ISO-8859-1

How about actually using the new locale?
$ LC_ALL=en_CA at yyyy-mm-dd.utf8 locale charmap

Regards,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





More information about the CentOS mailing list