PDA

View Full Version : Corrupted character on mysql with utf-8



michael_s
03-19-2010, 09:01 AM
Changes:
Use the word 'greek' instead of 'utf8'

In catalog/includes/functions/database.php and catalog/admin/includes/functions/database.php,
in the function tep_db_connect(), add the lines
// Added for oscommerce utf-8
mysql_query("SET NAMES 'greek'");

before the line

return $$link;


More... (http://addons.oscommerce.com/info/6081)