问题
I set PDO::ATTR_PERSISTENT => true
, but show my text with other encoding!
همراه سوران باشید در
Please help me out
// This is not helpful : `PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',`
// my default encoding in phpmyadmin is utf8-general
来源:https://stackoverflow.com/questions/29714253/pdoattr-persistent-utf-8-encoding