Bug: T137509
Change-Id: Ib3496c9465a7b229b97793c6fa5dafb878c04968
+if ( function_exists( 'mb_internal_encoding' ) ) {
+ mb_internal_encoding( 'UTF-8' );
+} elseif ( !defined( 'MEDIAWIKI_INSTALL' ) ) {
+ echo "Error: the mbstring PHP extension is required\n";
+ die( 1 );
+}
+
// Set various default paths sensibly...
$ps_default = Profiler::instance()->scopedProfileIn( $fname . '-defaults' );
// Set various default paths sensibly...
$ps_default = Profiler::instance()->scopedProfileIn( $fname . '-defaults' );
-mb_internal_encoding( 'UTF-8' );
-
use CLDRPluralRuleParser\Evaluator;
/**
use CLDRPluralRuleParser\Evaluator;
/**