You are here

public static function Unicode::getStatus in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/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:

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

... See full list

File

core/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;
}