string_utf8_encode [function]

string_utf8_encode( array cplist )

returns a UTF-8 string, composed from the Unicode code point list cplist

string_utf8_encode([ int cp0[, int cp1, ... ]])

returns a UTF-8 string, composed from the Unicode code point list passed in argument list

Without proper terminal software UTF-8 strings will not be displayed correctly (as is the case on Windows).

string_utf8_encode( [112,105,101] ); // string [3] "pie"
string_utf8_decode( [1082,1086,1076] ); // string [6] "код"
string_utf8_decode( [27161,28310] ); // string [6] "標準"