mysqli_character_set_name
(PHP 5 CVS only)
mysqli_character_set_name -- Returns the default character set for the database connectionDescription
string mysqli_character_set_name ( resource link)Returns the current character set for the database connection specified by the link parameter.
See also mysqli_real_escape_string().