Bugzilla – Attachment 123366 Details for
Bug 25078
Update DB process - wrap each DBRev inside a transaction and better error handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25078: Fix 'Wide character' from CLI
Bug-25078-Fix-Wide-character-from-CLI.patch (text/plain), 1.27 KB, created by
Jonathan Druart
on 2021-08-02 10:30:16 UTC
(
hide
)
Description:
Bug 25078: Fix 'Wide character' from CLI
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-02 10:30:16 UTC
Size:
1.27 KB
patch
obsolete
>From d4ee4fe46a30cb4125cc6e45418c7cfb99358550 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 16 Jul 2021 10:01:29 +0200 >Subject: [PATCH] Bug 25078: Fix 'Wide character' from CLI > >--- > installer/data/mysql/db_revs/210600000.pl | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/db_revs/210600000.pl b/installer/data/mysql/db_revs/210600000.pl >index 2e120d4193d..a9d08fef02c 100644 >--- a/installer/data/mysql/db_revs/210600000.pl >+++ b/installer/data/mysql/db_revs/210600000.pl >@@ -1,5 +1,6 @@ > use Modern::Perl; > use utf8; >+use Encode qw( encode_utf8 ); > > { > bug_number => undef, >@@ -8,9 +9,9 @@ use utf8; > my ($args) = @_; > my ($dbh, $out) = @$args{qw(dbh out)}; > >- say $out 'ðµ Run, rabbit run. ð¶'; >- say $out 'Dig that hole, forget the sun,'; >- say $out 'And when at last the work is done'; >- say $out "Don't sit down it's time to dig another one."; >+ say $out encode_utf8 'ðµ Run, rabbit run. ð¶'; >+ say $out encode_utf8 'Dig that hole, forget the sun,'; >+ say $out encode_utf8 'And when at last the work is done'; >+ say $out encode_utf8 "Don't sit down it's time to dig another one."; > }, > } >-- >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 25078
:
102521
|
116032
|
116033
|
116034
|
116208
|
116209
|
117084
|
121909
|
121910
|
121911
|
121982
|
121983
|
121984
|
122208
|
122322
|
122323
|
122324
|
122325
|
122326
|
122329
|
122665
|
122666
|
122667
|
122668
|
122669
|
122670
|
122671
|
122679
|
122680
|
122875
|
123356
|
123357
|
123358
|
123359
|
123360
|
123361
|
123362
|
123363
|
123364
|
123365
| 123366 |
123367
|
123850
|
123851
|
123853
|
123937
|
124269