Bugzilla – Attachment 105043 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: use utf8 for open in tmpl_process3.pl
Bug-25501-use-utf8-for-open-in-tmplprocess3pl.patch (text/plain), 1.03 KB, created by
Victor Grousset/tuxayo
on 2020-05-18 18:33:07 UTC
(
hide
)
Description:
Bug 25501: use utf8 for open in tmpl_process3.pl
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-05-18 18:33:07 UTC
Size:
1.03 KB
patch
obsolete
>From c43a2a0afd6a4a86a80910e5025fe72aa3977579 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Thu, 14 May 2020 08:34:19 -0300 >Subject: [PATCH] Bug 25501: use utf8 for open in tmpl_process3.pl > >Opening files using "":encoding(UTF-8)" removes >the warning "wide character in print" installing >translations > >To test: >1) Verify the error installing translations for any language >2) Apply the patch >3) Repeat 1), check warning is gone > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > misc/translator/tmpl_process3.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl >index 68c58f0cc6..d1d9c78a5f 100755 >--- a/misc/translator/tmpl_process3.pl >+++ b/misc/translator/tmpl_process3.pl >@@ -22,6 +22,7 @@ use Locale::PO; > use File::Temp qw( :POSIX ); > use TmplTokenizer; > use VerboseWarnings qw( :warn :die ); >+use open ":std", ":encoding(UTF-8)"; > > ############################################################################### > >-- >2.26.2
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