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