This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Set character set for libc.pot (preparing for 2.16update for translation team).
- From: Petr Baudis <pasky at ucw dot cz>
- To: Carlos O'Donell <carlos_odonell at mentor dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 13 Jun 2012 23:51:55 +0200
- Subject: Re: [PATCH] Set character set for libc.pot (preparing for 2.16update for translation team).
- References: <4FD8FDCF.8070207@mentor.com>
On Wed, Jun 13, 2012 at 04:53:35PM -0400, Carlos O'Donell wrote:
> In preparing for the 2.16 release I need to regenerate the libc.pot file.
>
> The first bug I'd like to tackle is that we don't set the character set
> for the pot file. This results in a warning:
>
> ~~~
> po/libc.pot.new: warning: Charset "CHARSET" is not a portable encoding name.
> Message conversion to user's charset might not work.
> ~~~
>
> We can either set it in the po/header.pot file or in the Makefile.
>
> I would prefer to set it in the Makefile so we don't loose the setting
> if we regenerate the header from scratch.
>
> Is UTF-8 the correct value here?
>
> It's probably overkill, but that's fine.
>
> Comments?
AIUI, it just serves as default charset for new translations?
In that case, I think UTF-8 is definitely the best idea.
Petr "Pasky" Baudis