Unicode.php
public static function setStatus($status) {
    if (!in_array($status, [static::STATUS_SINGLEBYTE, static::STATUS_MULTIBYTE, static::STATUS_ERROR])) {
      throw new \InvalidArgumentException('Invalid status value for unicode support.');
    }
    static::$status = $status;
  }
public static function setStatus($status) {
    if (!in_array($status, [static::STATUS_SINGLEBYTE, static::STATUS_MULTIBYTE, static::STATUS_ERROR])) {
      throw new \InvalidArgumentException('Invalid status value for unicode support.');
    }
    static::$status = $status;
  }
public static function setStatus ( $ status ) { if ( ! in_array ( $ status , [ static :: STATUS_SINGLEBYTE , static :: STATUS_MULTIBYTE , static :: STATUS_ERROR ] ) ) { throw new \ InvalidArgumentException ( 'Invalid status value for unicode support.' ) ; } static :: $ status = $ status ; }
Sets the value for multibyte support status for the current environment.

The following status keys are supported:
- \Drupal\Component\Utility\Unicode::STATUS_MULTIBYTE
Full unicode support using an extension.
- \Drupal\Component\Utility\Unicode::STATUS_SINGLEBYTE
Standard PHP (emulated) unicode support.
- \Drupal\Component\Utility\Unicode::STATUS_ERROR
An error occurred. No unicode support.

@param int $status
The new status of multibyte support.
Sets the value for multibyte support status for the current environment .