From f5121b5639992fc9e51fd551bac2254429b638fa Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Sat, 04 Mar 2006 08:43:25 -0500 Subject: [PATCH] Updated localizations --- program/lib/utf8.class.php | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/program/lib/utf8.class.php b/program/lib/utf8.class.php index 57126a7..c0bd0a7 100644 --- a/program/lib/utf8.class.php +++ b/program/lib/utf8.class.php @@ -1,4 +1,4 @@ -<? +<?php /* utf8 1.0 Copyright: Left @@ -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