removing default_charset tests. code can be reused in main function and
[squirrelmail.git] / functions / decode / iso_8859_16.php
index 5703c31e5b03edc18bbe80043a24e19bf84380a2..6185a0f8da51cd7ad12669b205ab12d148c4fced 100644 (file)
  * @return string $string Decoded string
  */
 function charset_decode_iso_8859_16 ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'iso-8859-16')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'iso-8859-16'))
         return $string;