diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-07 17:47:36 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-07 17:47:36 +1100 |
| commit | 6a02dfd5aa63f1a003ace12126d9439bf784528c (patch) | |
| tree | c377d0cced6fe66d308595ca35786438180dcd8c /inc/functions.php | |
| parent | 825317ec381ae3f28f814f66e380945e77f48982 (diff) | |
use multibyte-aware mb_strlen() instead of strlen(); fixed issue #8)
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 3 |
1 files changed, 2 insertions, 1 deletions
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() { |
