]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Perl: Fix a bug when reading here documents in a non-UTF-8 encoding.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Sep 2024 20:18:31 +0000 (22:18 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 26 Sep 2024 11:12:13 +0000 (13:12 +0200)
commit01c0f39346cf05a7c3439ba672eccbf3e560d35f
treec0206270dac0c2bb445c70ef1ffb44b89b1270e5
parentb16a7153042e52558df10ad5999761e646a5380f
xgettext: Perl: Fix a bug when reading here documents in a non-UTF-8 encoding.

* gettext-tools/src/xgettext.c (get_here_document): Update read_bytes when
switching from the original encoding to the UTF-8 encoding.
gettext-tools/src/x-perl.c