From 67ee21bb2bb918499b5a91fc383486ee2149a604 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 --- 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