class Utf

UTF-8 helper.

Methods

__construct()

static class.

static 
toUtf($s, $encoding)

Converts from source encoding to UTF-8.

static 
utfTo($s, $encoding)

Converts from UTF-8 to dest encoding.

static 
strtolower($s)

StrToLower in UTF-8.

static 
utf2ascii($s) deprecated

No description

static 
utf2html($s, $encoding)

Converts UTF-8 to dest encoding + html entities.

Details

at line 28
final __construct()

static class.

at line 37
static toUtf($s, $encoding)

Converts from source encoding to UTF-8.

Parameters

$s
$encoding

at line 46
static utfTo($s, $encoding)

Converts from UTF-8 to dest encoding.

Parameters

$s
$encoding

at line 55
static strtolower($s)

StrToLower in UTF-8.

Parameters

$s

at line 72
static utf2ascii($s) deprecated

deprecated

No description

Parameters

$s

at line 81
static utf2html($s, $encoding)

Converts UTF-8 to dest encoding + html entities.

Parameters

$s
$encoding

Traits

Better OOP experience.