Adding more index.php files
[squirrelmail.git] / functions / decode / us_ascii.php
index ae96b3095eb8b07af8143d5cbe61aa2e79870c92..044cad7ef362e8b6075a3b9b401037744b7a7d18 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * functions/decode/us_ascii.php
  *
- * Copyright (c) 2004 The SquirrelMail Project Team
+ * Copyright (c) 2004-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This file contains us-ascii decoding function that is needed to read
  * @return string cleaned string
  */
 function charset_decode_us_ascii ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'us-ascii')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'us-ascii'))
         return $string;