Class

eZMySQLCharset

abstract class eZMySQLCharset

File containing the eZMySQLCharset class.

Methods

static string mapTo(string $charset)

Maps an internal charset to one understood by MySQL.

static string mapFrom(string $charset)

Maps a MySQL charset to an internal one.

Details

at line 64
static public string mapTo(string $charset)

Maps an internal charset to one understood by MySQL.

If the charset is unknown, it will be returned as is.

Parameters

string $charset Charset to map.

Return Value

string The converted charset.

at line 80
static public string mapFrom(string $charset)

Maps a MySQL charset to an internal one.

If the charset is unknown, it will be returned as is.

Parameters

string $charset Charset to map.

Return Value

string The converted charset.