Here is a patch to use the UTF-8 version of a language file if the language detection is enabled.
File class.FormHandler.php at line 1944, replace with :
<?php
// set the language which formhandler supports
while (list (, $l) = each ($aLang))
{
$lFilename = null;
// check if the language file exists in UTF-8
if (file_exists(FH_INCLUDE_DIR . 'language/' . strtolower($l) . '-utf8.php')) {
$lFilename = $l . '-utf8';
}
// check if the language file exists
elseif (file_exists(FH_INCLUDE_DIR . 'language/' . strtolower($l) . '.php')) {
$lFilename = $l;
}
if (!is_null($lFilename)) {
// set the language
$this->setLanguage($lFilename);
$bSet = true;
break;
}
}
?>