summaryrefslogtreecommitdiff
path: root/roundcubemail/program/lib
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-02-04 19:08:10 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-02-04 19:08:10 +0000
commit26a7c308ba0d3005cee783517c061e283dba31ab (patch)
treed770e9306fb0e6b2ce678c6869535c7be663dc6f /roundcubemail/program/lib
parent8e5232f5fd6a29a5b2adcbbca66c5ef83c7108de (diff)
Bugfixes for encoding and sending with attachments
git-svn-id: https://svn.roundcube.net/trunk@130 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
-rw-r--r--roundcubemail/program/lib/utf8.class.php9
1 files changed, 5 insertions, 4 deletions
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