diff options
author | thomascube <thomas@roundcube.net> | 2006-02-04 19:08:10 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-02-04 19:08:10 +0000 |
commit | 58e3602a37cccab55f71fbf839b32fbc4322699c (patch) | |
tree | 4f48f72eb95d6ad7fb69ac09644e96f890bfded8 /program/lib | |
parent | 76ffa2a099300325b34c92a9291dc4031b8a0d8a (diff) |
Bugfixes for encoding and sending with attachments
Diffstat (limited to 'program/lib')
-rw-r--r-- | program/lib/utf8.class.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/program/lib/utf8.class.php b/program/lib/utf8.class.php index adcf31bc2..c0bd0a73b 100644 --- a/program/lib/utf8.class.php +++ b/program/lib/utf8.class.php @@ -58,10 +58,10 @@ define("ERR_OPEN_MAP_FILE","ERR_OPEN_MAP_FILE"); //Class definition Class utf8{ - var $charset = CP1250; + var $charset = "ISO-8859-1"; var $ascMap = array(); var $utfMap = array(); - + // made PHP5 capable by RoundCube function __construct($charset="ISO-8859-1"){ $this->loadCharset($charset); @@ -75,7 +75,7 @@ Class utf8{ //Load charset function loadCharset($charset){ global $utf8_maps; - + if (!is_file($utf8_maps[$charset])) { $this->onError(ERR_OPEN_MAP_FILE, "Failed to open map file for $charset"); @@ -170,4 +170,5 @@ Class utf8{ } } -?> + +?>
\ No newline at end of file |