Bugzilla – Attachment 105085 Details for
Bug 25501
Encoding issues in the translation process
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25501: Remove 'Wide character in print' for po2json
Bug-25501-Remove-Wide-character-in-print-for-po2js.patch (text/plain), 839 bytes, created by
Jonathan Druart
on 2020-05-19 11:15:10 UTC
(
hide
)
Description:
Bug 25501: Remove 'Wide character in print' for po2json
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-19 11:15:10 UTC
Size:
839 bytes
patch
obsolete
>From c897b70f9c8405b7399053cb3eb273ddb3e0c49b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25501
:
104876
|
105043
|
105060
|
105067
|
105073
|
105074
|
105080
|
105081
|
105084
|
105085
|
105095
|
105099