PHP Classes

Missing UTF8

Recommend this page to a friend!

      ezSQL  >  All threads  >  Missing UTF8  >  (Un) Subscribe thread alerts  
Subject:Missing UTF8
Summary:How to make it multilingual
Messages:1
Author:Chad Huntley
Date:2010-08-25 18:21:52
 

  1. Missing UTF8   Reply   Report abuse  
Picture of Chad Huntley Chad Huntley - 2010-08-25 18:21:53
Had some troubles displaying Chinese characters using this class and found that it is missing a charset option.

All you need to do is after the connection string place:

mysql_set_charset('utf8',$this->dbh);