From ed5d29f4b3c57235594931d33dde7cccaf7cd58b Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 25 May 2006 14:25:04 -0400 Subject: [PATCH] Finalized GoogieSpell integration --- 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 adcf31b..c0bd0a7 100644 --- a/program/lib/utf8.class.php +++ b/program/lib/utf8.class.php @@ -58,10 +58,10 @@ //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 @@ //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 @@ } } -?> + +?> \ No newline at end of file -- Gitblit v1.9.1