Please see https://bugs.php.net/bug.php?id=29983 looks to me like some distros still have the problem
test case
echo "ini_get('default_charset') ". ini_get('default_charset')." ";
if (!ini_set('default_charset', 'utf-8')) {
echo "could not set default_charset to utf-8 ";
}