diff --git a/wp-settings.php b/wp-settings.php index b4711d563..b924d4074 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -356,9 +356,7 @@ require (ABSPATH . WPINC . '/pluggable.php'); * since we want to use the mb_ functions for utf-8 strings */ if (function_exists('mb_internal_encoding')) { - if (get_option('blog_charset')) - mb_internal_encoding(get_option('blog_charset')); - else + if (!@mb_internal_encoding(get_option('blog_charset'))) mb_internal_encoding('UTF-8'); }