# Switch to UTF-8 if it's not already. $config->setEncoding('UTF-8'); $config->toFile($configuri, 2); chmod 0664, $configuri;