Post by Slapo » Mon Aug 06, 2007 10:50 pm

It could be useful for some, especially those who don't use English in their shops, to be able to define the database collation, to make sure the data is being stored and retrieved in the correct encoding.
For utf-8 that would be:

Code: Select all

$database->query("SET CHARACTER SET utf8");
right under

Code: Select all

$database = new database;
There might be more to this, but since utf-8 seems to be supported everywhere in OpenCart, this should do the job nicely for most people.

Newbie

Posts

Joined
Mon Aug 06, 2007 10:43 pm
Who is online

Users browsing this forum: No registered users and 2 guests