PHP 忒聊 綴豖 ヶ輛 mysql_client_encoding (PHP 4 = 4.3.0) Description mysql_client_encoding() returns the default character set name for the current connection. 瞰赽 1. mysql_client_encoding() example ?php $link = mysql_connect('localhost', 'mysql_user', 'mysql_password'); $charset = mysql_client_encoding($link); printf ("current character set is %s\n", $charset);? The above example would produce the following output: current character set is latin1 See also: mysql_real_escape_string() 綴豖 れ萸 ヶ輛 mysql_change_user 奻珨撰 mysql_close