Function utf8_from_unicode
Takes an array of ints representing the Unicode characters and returns a UTF-8 string. Astral planes are supported ie. the ints in the input can be > 0xFFFF. Occurrances of the BOM are ignored. Surrogates are not allowed. Returns false if the input array contains ints that represent surrogates or are outside the Unicode range and raises a PHP error at level E_USER_WARNING Note: this function has been modified slightly in this library to use output buffering to concatenate the UTF-8 string (faster) as well as reference the array by it's keys
Package: utf8
Author: <hsivonen@iki.fi>
See:
See: http://hsivonen.iki.fi/php-utf8/
Located at vendor/joomla/string/src/phputf8/utils/unicode.php
Author: <hsivonen@iki.fi>
See:
utf8_to_unicode()
See: http://hsivonen.iki.fi/php-utf8/
Located at vendor/joomla/string/src/phputf8/utils/unicode.php
Parameters summary
array |
$arr |
of unicode code points representing a string |
Return value summary
mixed
|
UTF-8 string or FALSE if array contains invalid code points |