20 $expanded = mb_convert_encoding($string,
"UTF-32BE", $encoding);
22 $expanded = mb_convert_encoding($string,
"UTF-32BE");
24 return unpack(
"N*", $expanded);
39 $encoding = mb_internal_encoding();
41 foreach((array) $unicode as $utf32be) {
42 $character = pack(
"N*", $utf32be);
43 $t .= mb_convert_encoding($character, $encoding,
"UTF-32BE");
smarty_mb_from_unicode($unicode, $encoding=null)
convert unicodes to the character of given encoding
smarty_mb_to_unicode($string, $encoding=null)
convert characters to their decimal unicode equivalents