Hello, I would like to use the latest version of Zen Cart but would also like my cart to be fully UTF-8 compatible. I found the UTF-8 Add-On but it is for version 1.3.7. Can anyone advise me what would be involved in changing this to work with 1.3.8a?
Would this work:
1. In /includes/languages/ and /admin/includes/languages english.php -
CHANGE:
define('CHARSET', 'iso-8859-1');
TO:
define('CHARSET', 'utf-8');
2. In /includes/classes/db/mysql/query_factory.php change the code by adding two lines 38-39:
FROM:TO:Code:if ($this->link) { if (@mysql_select_db($zf_database, $this->link)) { $this->db_connected = true; return true;3. Open up mysql_zencart.sql in \zc_install\sql and change the MyIAAM references:Code:if ($this->link) { if (@mysql_select_db($zf_database, $this->link)) { if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) { mysql_query('SET NAMES "utf8"', $this->link);} $this->db_connected = true; return true;
from: TYPE=MyISAM;
to: TYPE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Is there anything else that needs to be done? I realise I could try but I'm asking for some feedback before spending the time uploading all the files. I'd rather know in advance if this has no chance of working.
Thanks,
AQ



