Bugzilla – Attachment 104876 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), 994 bytes, created by
Bernardo Gonzalez Kriegel
on 2020-05-14 11:38:33 UTC
(
hide
)
Description:
Bug 25501: use utf8 for open in tmpl_process3.pl
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2020-05-14 11:38:33 UTC
Size:
994 bytes
patch
obsolete
>From a886a8d3e6f9213972f6e32df8c94357545b92de 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 >--- > 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.17.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