From: Nik Okuntseff Date: Thu, 15 Nov 2018 16:21:24 +0000 (+0000) Subject: Switching from utf8 to utf8mb4 character set for full Unicode support (emoji, etc.). X-Git-Tag: timetracker_1.19-1~643 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4da474b3fee7606ff8ce81b9e9c9d1fe82a82bdc;p=timetracker.git Switching from utf8 to utf8mb4 character set for full Unicode support (emoji, etc.). --- diff --git a/WEB-INF/config.php.dist b/WEB-INF/config.php.dist index 3f6fdaf3..1d852c21 100644 --- a/WEB-INF/config.php.dist +++ b/WEB-INF/config.php.dist @@ -37,7 +37,7 @@ set_include_path(realpath(dirname(__FILE__).'/lib/pear') . PATH_SEPARATOR . get_ // CHANGE 3 PARAMETERS HERE! // In this example: "root" is username, "no" is password, "dbname" is database name. // -define('DSN', 'mysqli://root:no@localhost/dbname?charset=utf8'); +define('DSN', 'mysqli://root:no@localhost/dbname?charset=utf8mb4'); // Do NOT change charset unless you upgraded from an older Time Tracker where charset was NOT specified // and now you see some corrupted characters. See http://dev.mysql.com/doc/refman/5.0/en/charset-mysql.html diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index b1b51b77..c45141d0 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.12.4428 | Copyright © Anuko | +  Anuko Time Tracker 1.18.12.4429 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/mysql.sql b/mysql.sql index 00abb462..5237dfe3 100644 --- a/mysql.sql +++ b/mysql.sql @@ -3,7 +3,7 @@ # 2) Then, execute this script from command prompt with a command like this: # mysql -h host -u user -p -D db_name < mysql.sql -# create database timetracker character set = 'utf8'; +# create database timetracker character set = 'utf8mb4'; # use timetracker;