fix charset prob

fixed problems with some umlauts
This commit is contained in:
majestick
2013-07-22 22:30:14 +02:00
parent b74ad34404
commit db5210fe6a

View File

@@ -90,10 +90,9 @@ function csort($array, $column, $ascdec=SORT_ASC){
# #
function htvar($v, $strip=false) { function htvar($v, $strip=false) {
if ($strip) if ($strip)
return htmlentities(stripslashes($v)); return htmlentities(stripslashes($v), 0, "UTF-8");
else else
return htmlentities($v); return htmlentities($v, 0, "UTF-8");
} }