After updating apache from 2.2.19 to 2.2.21 and php 5.3.6 to 5.3.8 the following parameter does not work anymore: /etc/php/apache2-php5.3/php.ini: mysql.connect_charset = latin1 Connection to this specific latin1 DB will made with UTF8 encoding which results in error on that using website. So umlauts are not shown correctly. Reproducible: Always
This worked in the first place because of an undocumented feature added by a patch. The patch was dropped in PHP 5.3.7 as Gentoo policy is to diverge from upsteam feature-wise. You need to use e.g mysql_set_charset [1] instead. [1] http://php.net/manual/en/function.mysql-set-charset.php