X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FHelper%2FCharset.php;h=a4064d893bb73b6413b503515e6c45e62cc9dc99;hb=f7815d511de0760616a58cfb3c1161242a216c9d;hp=5225c5935887f7af066d847e5e4653238258981f;hpb=5be54109b83d6a77f3a2804e7520db9662c53002;p=plcapi.git diff --git a/src/Helper/Charset.php b/src/Helper/Charset.php index 5225c593..a4064d89 100644 --- a/src/Helper/Charset.php +++ b/src/Helper/Charset.php @@ -110,7 +110,7 @@ class Charset case 'US-ASCII_': case 'US-ASCII_ISO-8859-1': case 'UTF-8_UTF-8': - //case 'CP1252_CP1252': + //case 'CP1252_CP1252': $escapedData = str_replace(array('&', '"', "'", '<', '>'), array('&', '"', ''', '<', '>'), $data); break; case 'UTF-8_': @@ -258,4 +258,5 @@ class Charset throw new \Exception('Unsupported charset: ' . $charset); } } + }