EncodingUtils

Utilities related to string and text character encoding, converting between formats, and perform common encoding operations.

package

Default

Methods

Convert a string with unicode escaped sequence of characters (\u00ed, \u0110, .

unicodeEscapedCharsToUtf8(string $string): string
static

...) to an utf8 string.

Warning: count(): Parameter must be an array or an object that implements Countable in phar://D:/Storage/Git/TurboBuilder/TurboBuilder-Node/src/main/libs/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar://D:/Storage/Git/TurboBuilder/TurboBuilder-Node/src/main/libs/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Arguments

$string

string

A string containing unicode escaped characters.

Response

string

An utf8 string conversion of the unicode encoded input.

Convert a utf8 string to a string with unicode escaped sequence of characters (\u00ed, \u0110, .

utf8ToUnicodeEscapedChars(string $string): string
static

..).

Warning: count(): Parameter must be an array or an object that implements Countable in phar://D:/Storage/Git/TurboBuilder/TurboBuilder-Node/src/main/libs/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar://D:/Storage/Git/TurboBuilder/TurboBuilder-Node/src/main/libs/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Arguments

$string

string

A string containing an utf8 valid sequence.

Response

string

A string containing escaped sequences for all the original utf8 characters