mysqli_character_set_name mysqli->character_set_name Returns the default character set for the database connection Description Procedural style: stringmysqli_character_set_name objectlink Object oriented style (method): mysqli string character_set_name Returns the current character set for the database connection specified by the link parameter. Return values The default character set for the current connection See also mysqli_client_encoding. mysqli_real_escape_string. Example Object oriented style character_set_name(); printf ("Current character set is %s\n", $charset); $mysqli->close(); ?> ]]> Procedural style ]]> The above examples would be produce the following output: