From c897b70f9c8405b7399053cb3eb273ddb3e0c49b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 May 2020 13:14:54 +0200 Subject: [PATCH] Bug 25501: Remove 'Wide character in print' for po2json --- misc/translator/po2json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/translator/po2json b/misc/translator/po2json index c73dd711b6..0b28f04db4 100755 --- a/misc/translator/po2json +++ b/misc/translator/po2json @@ -166,9 +166,9 @@ sub main $basename =~ s/\.pot?$//; if ($pretty) { - print $jsonobj->pretty->encode( { $basename => $json }); + print $jsonobj->pretty->utf8->encode( { $basename => $json }); } else { - print $jsonobj->encode($json); + print $jsonobj->utf8->encode($json); } } -- 2.20.1