[geeklog-cvs] geeklog: Typo - MySQL uses "utf8", without the dash

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Jun 14 06:18:23 EDT 2011


changeset 8317:b5434cc57f02
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/b5434cc57f02
user: Dirk Haun <dirk at haun-online.de>
date: Tue Jun 14 12:18:17 2011 +0200
description:
Typo - MySQL uses "utf8", without the dash

diffstat:

 system/databases/mysql.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 8ec8b7d5885e -r b5434cc57f02 system/databases/mysql.class.php
--- a/system/databases/mysql.class.php	Mon Jun 13 18:42:39 2011 +0200
+++ b/system/databases/mysql.class.php	Tue Jun 14 12:18:17 2011 +0200
@@ -140,7 +140,7 @@
         if ($this->_charset == 'utf-8') {
             if (($this->_mysql_version >= 50007) &&
                     function_exists('mysql_set_charset')) {
-                @mysql_set_charset('utf-8', $this->_db);
+                @mysql_set_charset('utf8', $this->_db);
             } else {
                 @mysql_query ("SET NAMES 'utf8'", $this->_db);
             }



More information about the geeklog-cvs mailing list