From 26a7c308ba0d3005cee783517c061e283dba31ab Mon Sep 17 00:00:00 2001 From: roundcube Date: Sat, 4 Feb 2006 19:08:10 +0000 Subject: Bugfixes for encoding and sending with attachments git-svn-id: https://svn.roundcube.net/trunk@130 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/lib/utf8.class.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'roundcubemail/program/lib/utf8.class.php') diff --git a/roundcubemail/program/lib/utf8.class.php b/roundcubemail/program/lib/utf8.class.php index adcf31bc2..c0bd0a73b 100644 --- a/roundcubemail/program/lib/utf8.class.php +++ b/roundcubemail/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 -- cgit v1.2.3