added encoding from config.php