[mysqld]
init_connect=‘SET collation_connection = utf8_unicode_ci’
character-set-server = utf8
collation-server = utf8_unicode_ci
[client]
default-character-set = utf8
new PDO("mysql:host=$this->servername;dbname=$this->dbname;charset=UTF8", $this->username, $this->password);