From 2b8703fbe10a01e92ba737d233faffc3727341a4 Mon Sep 17 00:00:00 2001 From: artem Date: Thu, 24 Jan 2008 11:53:06 +0000 Subject: - [DEV-102] added support of UTF8 for GUI (Artem) git-svn-id: svn://svn.zabbix.com/trunk@5275 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/html.inc.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'frontends/php/include/html.inc.php') diff --git a/frontends/php/include/html.inc.php b/frontends/php/include/html.inc.php index a747b82b..719ce7de 100644 --- a/frontends/php/include/html.inc.php +++ b/frontends/php/include/html.inc.php @@ -49,17 +49,6 @@ return str_replace(" ",SPACE,$str); } - function utf8_strlen($s) - { - return preg_match_all('/([\x01-\x7f]|([\xc0-\xff][\x80-\xbf]{1,5}))/', $s, $tmp); - } - - function utf8_strtop($s, $len) - { - preg_match('/^([\x01-\x7f]|([\xc0-\xff][\x80-\xbf]{1,5})){0,'.$len.'}/', $s, $tmp); - return (isset($tmp[0])) ? $tmp[0] : false; - } - function url1_param($parameter) { if(isset($_REQUEST[$parameter])) -- cgit