<?php
+
/**
* decode/iso-ir-111.php
*
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* This file contains iso-ir-111 decoding function that is needed to read
* iso-ir-111 encoded mails in non-iso-ir-111 locale.
*
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
+ * @copyright © 2003-2009 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @subpackage decode
* @return string Decoded string
*/
function charset_decode_iso_ir_111 ($string) {
- global $default_charset;
-
- if (strtolower($default_charset) == 'iso-ir-111')
- return $string;
-
// don't do decoding when there are no 8bit symbols
if (! sq_is8bit($string,'iso-ir-111'))
return $string;
return $string;
}
-?>
\ No newline at end of file