string mysql_client_encoding ([ resource $link_identifier ] )
Retrieves the character_set variable from MySQL.
Returns the default character set name for the current connection.