Unicode::getStatus

public static 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: \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. File core/lib/Drupal/Component/Utility/Uni

Unicode::encodingFromBOM

public static Unicode::encodingFromBOM($data) Decodes UTF byte-order mark (BOM) into the encoding's name. Parameters string $data: The data possibly containing a BOM. This can be the entire contents of a file, or just a fragment containing at least the first five bytes. Return value string|bool The name of the encoding, or FALSE if no byte order mark was present. File core/lib/Drupal/Component/Utility/Unicode.php, line 191 Class Unicode Provides Unicode-related conversions and operations

Unicode::convertToUtf8

public static Unicode::convertToUtf8($data, $encoding) Converts data to UTF-8. Requires the iconv, GNU recode or mbstring PHP extension. Parameters string $data: The data to be converted. string $encoding: The encoding that the data is in. Return value string|bool Converted data or FALSE. File core/lib/Drupal/Component/Utility/Unicode.php, line 226 Class Unicode Provides Unicode-related conversions and operations. Namespace Drupal\Component\Utility Code public static function convert

Unicode::check

public static Unicode::check() Checks for Unicode support in PHP and sets the proper settings if possible. Because of the need to be able to handle text in various encodings, we do not support mbstring function overloading. HTTP input/output conversion must be disabled for similar reasons. Return value string A string identifier of a failed multibyte extension check, if any. Otherwise, an empty string. File core/lib/Drupal/Component/Utility/Unicode.php, line 145 Class Unicode Provides Uni

Unicode::caseFlip

public static Unicode::caseFlip($matches) Flip U+C0-U+DE to U+E0-U+FD and back. Can be used as preg_replace callback. Parameters array $matches: An array of matches by preg_replace_callback(). Return value string The flipped text. File core/lib/Drupal/Component/Utility/Unicode.php, line 657 Class Unicode Provides Unicode-related conversions and operations. Namespace Drupal\Component\Utility Code public static function caseFlip($matches) { return $matches[0][0] . chr(ord($matches[0]

Unicode::$status

Holds the multibyte capabilities of the current environment. Type: int File core/lib/Drupal/Component/Utility/Unicode.php, line 95 Class Unicode Provides Unicode-related conversions and operations. Namespace Drupal\Component\Utility Code protected static $status = 0;

unicode.inc

Provides Unicode-related conversions and operations. File core/includes/unicode.inc Functions Name Description drupal_xml_parser_create Prepares a new XML parser. unicode_requirements Returns Unicode library status and errors.

Unicode

Provides Unicode-related conversions and operations. Hierarchy class \Drupal\Component\Utility\Unicode Related topics Utility classes and functions Overview of utility classes and functions for developers. File core/lib/Drupal/Component/Utility/Unicode.php, line 10 Namespace Drupal\Component\Utility Members Name Modifiers Type Description Unicode::$status protected static property Holds the multibyte capabilities of the current environment. Unicode::caseFlip public

UndefinedLinkTemplateException

Defines an exception class for undefined link templates. Hierarchy class \Drupal\Core\Entity\Exception\UndefinedLinkTemplateException extends \RuntimeException File core/lib/Drupal/Core/Entity/Exception/UndefinedLinkTemplateException.php, line 8 Namespace Drupal\Core\Entity\Exception Members

Undefined

Undefined configuration element. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elementclass \Drupal\Core\Config\Schema\Undefined File core/lib/Drupal/Core/Config/Schema/Undefined.php, line 8 Namespace Drupal\Core\Config\Schema Members Name Modifiers Type Description Element::$value protected property The configuration value. Element: