mysql_client_encoding

PHP 4 >= 4.3.0, PHP 5
mysql_client_encoding - Returns the name of the character set
Manual
Code Examples

Example #1 mysql_client_encoding example

Result: The current character set is: latin1
PHP Version: