Switching from utf8 to utf8mb4 character set for full Unicode support (emoji, etc.).
authorNik Okuntseff <support@anuko.com>
Thu, 15 Nov 2018 16:21:24 +0000 (16:21 +0000)
committerNik Okuntseff <support@anuko.com>
Thu, 15 Nov 2018 16:21:36 +0000 (16:21 +0000)
WEB-INF/config.php.dist
WEB-INF/templates/footer.tpl
mysql.sql

index 3f6fdaf..1d852c2 100644 (file)
@@ -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
 
index b1b51b7..c45141d 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.12.4428 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.12.4429 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 00abb46..5237dfe 100644 (file)
--- 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;