Regression on accentuated characters due to bad (forgotten) encoding on htmlentities (Trac #446)

SVN:trunk[1567]
This commit is contained in:
Denis Flaven
2011-09-09 16:18:01 +00:00
parent ee4f7e5b6a
commit 5041ec2e0c
4 changed files with 11 additions and 11 deletions

View File

@@ -163,7 +163,7 @@ class ApplicationContext
$sContext = "";
foreach($this->aValues as $sName => $sValue)
{
$sContext .= "<input type=\"hidden\" name=\"c[$sName]\" value=\"".htmlentities($sValue)."\" />\n";
$sContext .= "<input type=\"hidden\" name=\"c[$sName]\" value=\"".htmlentities($sValue, ENT_QUOTES, 'UTF-8')."\" />\n";
}
return $sContext;
}