Re: requiring all .po files be UTF8-encoded

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Cc: pgsql-translators(at)lists(dot)postgresql(dot)org
Subject: Re: requiring all .po files be UTF8-encoded
Date: 2025-12-10 17:06:41
Message-ID: 644238.1765386401@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-translators

=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre(at)kurilemu(dot)de> writes:
> There's an ongoing project to add a regression test to ensure all
> platforms are correctly handling translations. [1]
> [1] https://postgr.es/m/b292844.1765315339@sss.pgh.pa.us

For the list archives' sake: that link seems wrong. A more
relevant discussion for translation purposes is

https://www.postgresql.org/message-id/flat/292844.1765315339%40sss.pgh.pa.us

in which we discovered that Solaris' gettext implementation
doesn't handle transcoding of .mo files, and that we have to
know at build time which encoding they're in so as to create
appropriate symlinks. Rather than write code to extract that
information, I proposed that we just institute a policy that
all our .po files should be in UTF-8. We're apparently nearly
there already so far as actively-maintained .po files go.

regards, tom lane

In response to

Browse pgsql-translators by date

  From Date Subject
Next Message Álvaro Herrera 2025-12-10 17:46:44 Re: requiring all .po files be UTF8-encoded
Previous Message Tom Lane 2025-12-10 16:53:20 Re: requiring all .po files be UTF8-encoded