moving include to the top.
[squirrelmail.git] / functions / decode / iso_8859_16.php
index 5703c31e5b03edc18bbe80043a24e19bf84380a2..7cb2b80e97e153b3a0c19bd0b47fc7015cff18b1 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * decode/iso8859-16.php
  *
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
+ * Copyright (c) 2003-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This file contains iso-8859-16 decoding function that is needed to read
  * @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;