removing default_charset tests. code can be reused in main function and
[squirrelmail.git] / functions / decode / koi8_u.php
index 37620763d88d352ecc52d7f583d642d6af397f06..821cc491dd349b149f167bcaf4c1e9564c03bb1a 100644 (file)
  * @return string Decoded string
  */
 function charset_decode_koi8_u ($string) {
-    global $default_charset;
-
-    if (strtolower($default_charset) == 'koi8-u')
-        return $string;
-
     // don't do decoding when there are no 8bit symbols
     if (! sq_is8bit($string,'koi8-u'))
         return $string;