Prefix the CHARSET var to be uniform with other vars extracted from LocalSettings.php.
Also fixes a syntax error.