Locale codeset UTF-8 vs. utf8

Michael Schwendt mschwendt at gmail.com
Thu Jun 5 09:34:21 UTC 2008


On Thu, 5 Jun 2008 05:22:51 -0400, Jakub Jelinek wrote:

> On Thu, Jun 05, 2008 at 11:10:59AM +0200, Michael Schwendt wrote:
> > The difference in the spelling of the codeset breaks Sylpheed (#450063)
> > which only looks for codeset "UTF-8". Now where again is it defined
> > that both are valid spellings for the codeset?
> 
> Then Sylpheed is just broken.  It shouldn't look at the locale name,
> but instead at nl_langinfo (CODESET) (the same can be queried from
> locale -k LC_CTYPE | grep ^charmap=
> ).

Thanks. Found it already while skimming over setlocale(3).




More information about the fedora-devel-list mailing list