projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moving function to its rightful place
[squirrelmail.git]
/
functions
/
decode
/
cp1254.php
diff --git
a/functions/decode/cp1254.php
b/functions/decode/cp1254.php
index 7cfe140fc086107aefd03c6ab788a43cee450f42..bdb592012b58eb504f80774d992227c71649ac2c 100644
(file)
--- a/
functions/decode/cp1254.php
+++ b/
functions/decode/cp1254.php
@@
-1,10
+1,8
@@
<?php
<?php
+
/**
* decode/cp1254.php
*
/**
* decode/cp1254.php
*
- * Copyright (c) 2003-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
* This file contains cp1254 decoding function that is needed to read
* cp1254 encoded mails in non-cp1254 locale.
*
* This file contains cp1254 decoding function that is needed to read
* cp1254 encoded mails in non-cp1254 locale.
*
@@
-18,6
+16,8
@@
* Date: 04/15/98
* Contact: cpxlate@microsoft.com
*
* Date: 04/15/98
* Contact: cpxlate@microsoft.com
*
+ * @copyright © 2003-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
* @subpackage decode
* @version $Id$
* @package squirrelmail
* @subpackage decode
@@
-29,11
+29,6
@@
* @return string $string Decoded string
*/
function charset_decode_cp1254 ($string) {
* @return string $string Decoded string
*/
function charset_decode_cp1254 ($string) {
- global $default_charset;
-
- if (strtolower($default_charset) == 'windows-1254')
- return $string;
-
// don't do decoding when there are no 8bit symbols
if (! sq_is8bit($string,'windows-1254'))
return $string;
// don't do decoding when there are no 8bit symbols
if (! sq_is8bit($string,'windows-1254'))
return $string;
@@
-173,5
+168,3
@@
function charset_decode_cp1254 ($string) {
return $string;
}
return $string;
}
-
-?>
\ No newline at end of file