The sql_get_charset()
function is used to check if the usage of the particular character encoding is available on the database server.
sql_get_charset()
accepts three parameters, with only the first being mandatory:
-
$charset
is the charset being requested, such as "utf8" -
$serveur
, -
$options
.