mysql_client_encoding
PHP 4 >= 4.3.0, PHP 5
mysql_client_encoding - Returns the name of the character set
Code Examples
Example #1 mysql_client_encoding example
Result: The current character set is: latin1