set_charset and PDO?

Thanks everybody :slight_smile: You are truly experts.

I added this line

$pdoConnectLink->query('SET NAMES utf8');

in the method where I create the PDO connection. Ended up like this:

$pdoConnectLink = new PDO($this->_dbstring, $this->_username, $this->_password);
$pdoConnectLink->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$pdoConnectLink->query('SET NAMES utf8');
return $pdoConnectLink;

:):):slight_smile:

Your sincerely Magnus