mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-04 05:39:28 +00:00
Encodingprobleme behoben
This commit is contained in:
@@ -357,8 +357,7 @@ $plz = (isset($_REQUEST['plz'])?$_REQUEST['plz']:'');
|
||||
//und muessen zuerst nach UTF8 konvertiert werden
|
||||
function utf8($string)
|
||||
{
|
||||
//echo "ENCODIONG: ".mb_detect_encoding($string,"UTF-8,ISO-8859-15");
|
||||
if(mb_detect_encoding($string, "UTF-8,ISO-8859-15")=='ISO-8859-15')
|
||||
if(!check_utf8($string))
|
||||
return utf8_encode($string);
|
||||
else
|
||||
return $string;
|
||||
|
||||
Reference in New Issue
Block a user