[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] set locale to avoid xgettext error
From: |
Collin Funk |
Subject: |
Re: [PATCH] set locale to avoid xgettext error |
Date: |
Thu, 24 Oct 2024 13:03:45 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
"Sergey Poznyakoff" <gray@gnu.org.ua> writes:
> Matteo Croce <technoboy85@gmail.com> ha escrit:
>
>> I see that in this commit, you removed a non-ASCII character from a comment.
>> That was triggering the same build failure I'm experiencing with the
>> word "comprobaciĆ³n".
>> What is the rule here, remove the non ANSII characters, or we can set
>> the encoding to utf8?
>
> The comment in question is a hint for translators, and is reproduced
> verbatim in the resulting pot file. Perhaps the best way would be to
> remove the proposed example, and leave just the textual description,
> hoping that "dictum sapienti sat".
FYI, On Fedora 40 GNU tar doesn't build unless I add --from-code=UTF-8
as an xgettext argument.
I submitted a patch for this and some other issues I found here [1] [2].
Collin
[1] https://lists.gnu.org/archive/html/bug-tar/2024-09/msg00000.html
[2] https://lists.gnu.org/archive/html/bug-tar/2024-09/msg00002.html