mysqli_character_set_name Returns the default character set for the database connection Description stringmysqli_character_set_name resourcelink Returns the current character set for the database connection specified by the link parameter. Using the mysqli_character_set_name function ]]> See also mysqli_real_escape_string.