You are here

public static function Unicode::getStatus in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Utility/Unicode.php \Drupal\Component\Utility\Unicode::getStatus()

Gets the current status of unicode/multibyte support on this environment.

Return value

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

5 calls to Unicode::getStatus()
Unicode::strlen in lib/Drupal/Component/Utility/Unicode.php
Counts the number of characters in a UTF-8 string.
Unicode::strpos in lib/Drupal/Component/Utility/Unicode.php
Finds the position of the first occurrence of a string in another string.
Unicode::strtolower in lib/Drupal/Component/Utility/Unicode.php
Converts a UTF-8 string to lowercase.
Unicode::strtoupper in lib/Drupal/Component/Utility/Unicode.php
Converts a UTF-8 string to uppercase.
Unicode::substr in lib/Drupal/Component/Utility/Unicode.php
Cuts off a piece of a string based on character indices and counts.

File

lib/Drupal/Component/Utility/Unicode.php, line 114
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;
}