Unicode::check

public static function Unicode::check

public static Unicode::check()

Checks for Unicode support in PHP and sets the proper settings if possible.

Because of the need to be able to handle text in various encodings, we do not support mbstring function overloading. HTTP input/output conversion must be disabled for similar reasons.

Return value

string A string identifier of a failed multibyte extension check, if any. Otherwise, an empty string.

File

core/lib/Drupal/Component/Utility/Unicode.php, line 145

Class

登录查看完整内容