removing default_charset tests. code can be reused in main function and
[squirrelmail.git] / functions / decode / cp1254.php
index 7cfe140fc086107aefd03c6ab788a43cee450f42..57eb6170b9152a3743795362cc055c20d69d8baa 100644 (file)
  * @return string $string Decoded string
  */
 function charset_decode_cp1254 ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'windows-1254')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'windows-1254'))
         return $string;