Class: I2CE UTF8 (4.1.7)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the class I2CE_UTF8 .

Methods

cp_to_code()

encodeStringFromCodepoints()

Given unicode codepoints, create the corresponding string @param array code_points an array of code points

  • Defined in textlayout/lib/I2CE_UTF8.php on line 73
  • Signature: static public function encodeStringFromCodepoints($code_points,$as_array)
  • Parameters:
    • $code_points
    • boolean $as_array
      true if we want output as an array, false if we output as a string
      • Default Value: false

to_codepoints()

Given a string encoded in utf8, it returns an array of the unicode codepoints (adapted from tcpdf.php)