From 7e3b4af254b10780856376661947df5b3d6b6e61 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 11 Apr 2012 09:40:08 +0000 Subject: Convert last itools file to UTF-8 --- it.class | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'it.class') diff --git a/it.class b/it.class index 5300370..486d322 100644 --- a/it.class +++ b/it.class @@ -295,9 +295,9 @@ static function is_devel() static function toascii($text) { return strtr(strtr($text, - '', - 'CeaaaceeeiiiAEoouuyooaiounNAAAaAEEEIIIOOoOUUUyY'), - array('' => 'ae', '' => 'oe', '' => 'ue', '' => 'Ae', '' => 'Oe', '' => 'Ue', '' => 'ae', '' => 'Ae', '' => 'ss')); + utf8_decode( 'ÇéâàåçêëèïîìÅÉôòûùÿøØáíóúñÑÁÂÀãÃÊËÈÍÎÏÓÔõÕÚÛÙýÝ'), + 'CeaaaceeeiiiAEoouuyooaiounNAAAaAEEEIIIOOoOUUUyY'), + array("\xe4" => 'ae', "\xf6" => 'oe', "\xfc" => 'ue', "\xc4" => 'Ae', "\xd6" => 'Oe', "\xdc" => 'Ue', "\xe6" => 'ae', "\xc6" => 'Ae', "\xdf" => 'ss')); } -- cgit v1.2.3