Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #240079

Category ggettext
Changed by Bruno Haible <brunoohnoyoudont@clisp.org>
Changed at Fri 18 Jul 2025 21:38:32
Repository git://git.savannah.gnu.org/gettext.git
Project ggettext
Branch master
Revision 106647be6d4f1e79efef125af1c003ddaea07178

Comments

msginit: Fix encoding of second title line, part 2.
Reported by Matilin Torre <watilin@protonmail.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2025-07/msg00024.html>.

To reproduce the problem:
$ LC_ALL=de_DE.ISO-8859-1 msginit -l fr_FR.ISO-8859-1 -i some_utf-8.pot -o fr.po

* gettext-tools/src/msginit.c (output_charset): New variable.
(content_type): Use output_charset.
(get_title): Use output_charset instead of ignoring was_utf8.
(fill_header): Initialize output_charset. Moved logic from content_type()
to here.

Changed files