Bugzilla – Attachment 71780 Details for
Bug 18336
Add support for Unicode supplementary characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18336: SET NAMES utf8mb4 in Koha::Database
Bug-18336-SET-NAMES-utf8mb4-in-KohaDatabase.patch (text/plain), 980 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-02-16 14:26:30 UTC
(
hide
)
Description:
Bug 18336: SET NAMES utf8mb4 in Koha::Database
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-02-16 14:26:30 UTC
Size:
980 bytes
patch
obsolete
>From 8bb4d92ad20552f4620d273d1e908a26c7bdbd7c Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 22 Jan 2018 12:32:21 -0300 >Subject: [PATCH] Bug 18336: SET NAMES utf8mb4 in Koha::Database > >Sponsored-by: Hotchkiss School > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Database.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Database.pm b/Koha/Database.pm >index 7daf5f0cac..6b569cdb10 100644 >--- a/Koha/Database.pm >+++ b/Koha/Database.pm >@@ -73,7 +73,7 @@ sub _new_schema { > my $tz = $ENV{TZ}; > if ( $db_driver eq 'mysql' ) { > %encoding_attr = ( mysql_enable_utf8 => 1 ); >- $encoding_query = "set NAMES 'utf8'"; >+ $encoding_query = "set NAMES 'utf8mb4'"; > $tz_query = qq(SET time_zone = "$tz") if $tz; > } > elsif ( $db_driver eq 'Pg' ) { >-- >2.14.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 18336
:
70854
|
70855
|
70856
|
70857
|
70858
|
70859
|
70904
|
70905
|
70906
|
70907
|
70908
|
70909
|
71022
|
71210
|
71211
|
71212
|
71213
|
71214
|
71215
|
71216
|
71337
|
71779
|
71780
|
71781
|
71782
|
71783
|
71784
|
71785
|
71786
|
71836
|
71843
|
71844
|
71845
|
71846
|
71847
|
71848
|
71849
|
71850
|
71851
|
71953