summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorChristian Schneider2012-04-11 09:40:08 +0000
committerChristian Schneider2012-04-11 09:40:08 +0000
commit7e3b4af254b10780856376661947df5b3d6b6e61 (patch)
tree0f5e6e34d0f774eab0bc6be2913b553d8bfa89d7 /it.class
parentaf6eae0ff1f2dcca16f86493b5052a3544c0a6f7 (diff)
downloaditools-7e3b4af254b10780856376661947df5b3d6b6e61.tar.gz
itools-7e3b4af254b10780856376661947df5b3d6b6e61.tar.bz2
itools-7e3b4af254b10780856376661947df5b3d6b6e61.zip
Convert last itools file to UTF-8
Diffstat (limited to 'it.class')
-rw-r--r--it.class6
1 files changed, 3 insertions, 3 deletions
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'));
}