From 2bf8ad37abe0d390e71471e4d45c4a5141ef2ce1 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 --- 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 f95c619f602..0068ae68690 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