public static Unicode::setStatus($status)
Sets the value for multibyte support status for the current environment.
The following status keys are supported:
int $status: The new status of multibyte support.
public static function setStatus($status) { if (!in_array($status, array(static::STATUS_SINGLEBYTE, static::STATUS_MULTIBYTE, static::STATUS_ERROR))) { throw new \InvalidArgumentException('Invalid status value for unicode support.'); } static::$status = $status; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Unicode.php/function/Unicode::setStatus/8.1.x