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

utf8_decode - Decode UTF-8 text

uint16[] utf8_decode( string $data )

uint32[] utf8_decode( string $data )

utf8_decode() decodes an 8-bit string encoded with UTF-8 to an array of Unicode code-points.

Parameters:

data - The text to decode.

Return Value:

An array containing Unicode code-points of the characters in data.

Notes:

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

Version

1.0 and above.

Clone this wiki locally