From 0df6cec3181ae5016151529a4ba126149353757c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 15 Apr 2021 16:55:30 +0200 Subject: [PATCH] Bug 28154: Fix encoding issues on Koha-pref.pot Signed-off-by: Julian Maurice Signed-off-by: Martin Renvoize --- misc/translator/xgettext-pref | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/translator/xgettext-pref b/misc/translator/xgettext-pref index f95c619f60..0068ae6869 100755 --- a/misc/translator/xgettext-pref +++ b/misc/translator/xgettext-pref @@ -104,7 +104,7 @@ for my $file (@files) { } } -Locale::PO->save_file_fromhash($output, $pot); +Locale::PO->save_file_fromhash($output, $pot, 'utf8'); sub add_prefs { my ($file, $context, $prefs) = @_; -- 2.20.1