Skip to content
Chung Leong edited this page Jan 10, 2022 · 5 revisions

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.

Clone this wiki locally