TCPDF_FONTS::UTF8StringToArray( $str,  $isunicode = true,  $currentfont )

Converts UTF-8 strings to codepoints array.
Invalid byte sequences will be replaced with 0xFFFD (replacement character)


Description Description


Parameters Parameters

$str

(Required) (string) string to process.

$isunicode

(Optional) (boolean) True when the documetn is in Unicode mode, false otherwise.

Default value: true

$currentfont

(Required) (array) Reference to current font array.


Top ↑

Return Return

(array) containing codepoints (UTF-8 characters values)


Top ↑

Source Source

File: includes/lib/tcpdf/include/tcpdf_fonts.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.