Documentation

UtfString
in package

Table of Contents

Methods

code2utf()  : string
codeHex2utf()  : mixed
strcode2utf()  : string
Converts all the &#nnn; and &#xhhh; in a string to Unicode

Methods

code2utf()

public static code2utf(int $num[, bool $lo = true ]) : string
Parameters
$num : int
$lo : bool = true
Return values
string

codeHex2utf()

public static codeHex2utf(mixed $hex[, mixed $lo = true ]) : mixed
Parameters
$hex : mixed
$lo : mixed = true

strcode2utf()

Converts all the &#nnn; and &#xhhh; in a string to Unicode

public static strcode2utf(string $str[, bool $lo = true ]) : string
Parameters
$str : string
$lo : bool = true
Tags
since

mPDF 5.7

Return values
string

        
On this page

Search results