Improve error message for illegal folder name.
[squirrelmail.git] / functions / decode / cp1257.php
index 12fc82f6f7bf1df7a1c2e805d594411044862de9..eebf77fd8f892ef5d5dda5e750e3fc1bb6c5fbd2 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * decode/cp1257.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 cp1257 decoding function that is needed to read
  * @return string $string Decoded string
  */
 function charset_decode_cp1257 ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'windows-1257')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'windows-1257'))
         return $string;