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