(PHP 4 = 4.3.0) mysql_client_encoding() returns the default character set name for the current connection. δΎ‹ 1 mysql_client_encoding() example The above example would produce the following output: See also: mysql_real_escape_string()