[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] set locale to avoid xgettext error
From: |
Matteo Croce |
Subject: |
Re: [PATCH] set locale to avoid xgettext error |
Date: |
Thu, 24 Oct 2024 22:12:33 +0200 |
Il giorno gio 24 ott 2024 alle ore 22:03 Collin Funk
<collin.funk1@gmail.com> ha scritto:
>
> 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
Oops, that's the same patch I've sent. I didn't see it, sorry.
You can ignore mine then.
--
Matteo Croce
perl -e 'for($t=0;;$t++){print chr($t*($t>>8|$t>>13)&255)}' |aplay