XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Static Public Member Functions | List of all members
uctc Class Reference

Static Public Member Functions

static convert ($data, $from, $to, $safe_mode=false, $safe_char=0xFFFC)
 

Detailed Description

Definition at line 18 of file uctc.php.

Member Function Documentation

static uctc::convert (   $data,
  $from,
  $to,
  $safe_mode = false,
  $safe_char = 0xFFFC 
)
static

The actual conversion routine

Parameters
mixed$dataThe data to convert, usually a string, array when converting from UCS-4 array
string$fromOriginal encoding of the data
string$toTarget encoding of the data
bool$safe_modeSafeMode tries to correct invalid codepoints
Returns
mixed False on failure, String or array on success, depending on target encoding public
Since
0.0.1

Definition at line 35 of file uctc.php.


The documentation for this class was generated from the following file: