From 6a02dfd5aa63f1a003ace12126d9439bf784528c Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 7 Dec 2011 17:47:36 +1100 Subject: use multibyte-aware mb_strlen() instead of strlen(); fixed issue #8) --- inc/functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index 3a5e0ecf..7dcdc088 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -7,7 +7,8 @@ require 'contrib/gettext/gettext.inc'; - register_shutdown_function('fatal_error_handler'); + register_shutdown_function('fatal_error_handler'); + mb_internal_encoding('UTF-8'); loadConfig(); function loadConfig() { -- cgit v1.3