public static function Unicode::getStatus

Get the current status of unicode/multibyte support on this enviroment.

Return value

int The status of multibyte support. It can be one of:

7 calls to Unicode::getStatus()
HandlerBase::caseTransform in drupal/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php
Transform a string by a certain method.
Unicode::strlen in drupal/core/lib/Drupal/Component/Utility/Unicode.php
Counts the number of characters in a UTF-8 string.
Unicode::strtolower in drupal/core/lib/Drupal/Component/Utility/Unicode.php
Lowercase a UTF-8 string.
Unicode::strtoupper in drupal/core/lib/Drupal/Component/Utility/Unicode.php
Uppercase a UTF-8 string.
Unicode::substr in drupal/core/lib/Drupal/Component/Utility/Unicode.php
Cuts off a piece of a string based on character indices and counts.

... See full list

File

drupal/core/lib/Drupal/Component/Utility/Unicode.php, line 112
Contains \Drupal\Component\Utility\Unicode.

Class

Unicode
Provides Unicode-related conversions and operations.

Namespace

Drupal\Component\Utility

Code

public static function getStatus() {
  return static::$status;
}