X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c7f63c8b9b12efd7b3c10b9f80cda06eaf32068f..1b57a8783f47606807c879bff785ab64b6860939:/includes/utf8/utf8.php?ds=sidebyside diff --git a/includes/utf8/utf8.php b/includes/utf8/utf8.php index 4be7ef9..45cd84d 100644 --- a/includes/utf8/utf8.php +++ b/includes/utf8/utf8.php @@ -27,20 +27,6 @@ if ( !defined('UTF8') ) { define('UTF8',dirname(__FILE__)); } -/** -* If string overloading is active, it will break many of the -* native implementations. mbstring.func_overload must be set -* to 0, 1 or 4 in php.ini (string overloading disabled). -* Also need to check we have the correct internal mbstring -* encoding -*/ -if ( extension_loaded('mbstring')) { - if ( ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING ) { - trigger_error('String functions are overloaded by mbstring',E_USER_ERROR); - } - mb_internal_encoding('UTF-8'); -} - /** * Check whether PCRE has been compiled with UTF-8 support */