[Yum-devel] Re: [yum-git] yum/i18n.py

Jeremy Katz katzj at redhat.com
Thu Feb 7 14:45:19 UTC 2008


On Thu, 2008-02-07 at 15:39 +0100, Tim Lauridsen wrote:
> Jeremy Katz wrote:
> > On Thu, 2008-02-07 at 04:59 -0500, Tim Lauridsen wrote:
> >>     Make the _() translation wrapper make sure that the translated string is Unicode, to solve problem with ISO-8859-1 translation files
> > 
> > It's probably easier to just make sure the po/mo files have UTF-8
> > instead.  See msgconv(1)
>
> Some languages don't work well with UTF-8 po files (fx. danish and 
> norvegian they have some special 'åæø' chars there looks wrong if the po 
> file is not in iso-8859-1 )

Ermmm, no.  ISO-8859-1 is a subset of UTF-8.  And I can *guarantee* that
those languages are perfectly fine with UTF-8 po files... we've been
mandating UTF-8 po files for many years now with anaconda and other
elvis/fedora hosted things

Jeremy




More information about the Yum-devel mailing list