fix charset prob
fixed problems with some umlauts
This commit is contained in:
@@ -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");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user