Cpdf::utf8toCodePointsArray
return array containing codepoints (UTF-8 character values) for the string passed in.
based on the excellent TCPDF code by Nicola Asuni and the RFC for UTF-8 at http://www.faqs.org/rfcs/rfc3629.html
- Author: Orion Richardson
Signature
public function utf8toCodePointsArray(string&
$text )
Parameters
$text
— string- UTF-8 string to process
Returns
- array
- UTF-8 codepoints array for the string