projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removing default_charset tests. code can be reused in main function and
[squirrelmail.git]
/
functions
/
decode
/
cp1254.php
diff --git
a/functions/decode/cp1254.php
b/functions/decode/cp1254.php
index 7cfe140fc086107aefd03c6ab788a43cee450f42..57eb6170b9152a3743795362cc055c20d69d8baa 100644
(file)
--- a/
functions/decode/cp1254.php
+++ b/
functions/decode/cp1254.php
@@
-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;