utf8_encode - chung-leong/qb GitHub Wiki

utf8_encode - Encode Unicode code points using UTF-8

string utf8_encode( uint16[] $data )

string utf8_encode( uint32[] $data )

utf8_encode() encodes an array of Unicode code-points to a UTF-8 string.

Parameters:

data - The text to encode.

Return Value:

A UTF-8 string with the characters contained in data.

Notes:

Warning The action performed by utf8_encode() in PHP+QB is entirely different from what it does in regular PHP.

Version

1.0 and above.