mysql_client_encoding
Returns the name of the character set
&reftitle.description;
stringmysql_client_encoding
resourcelink_identifierNULL
Retrieves the character_set variable from MySQL.
&reftitle.parameters;
&mysql.linkid.description;
&reftitle.returnvalues;
Returns the default character set name for the current connection.
&reftitle.examples;
mysql_client_encoding example
]]>
&example.outputs.similar;
&reftitle.notes;
&mysql.alternative.note;
&mysql.alternative.include;
mysqli_character_set_name
PDO::setAttribute (e.g., $db->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, "SET NAMES 'utf8'");)
&reftitle.seealso;
mysql_set_charset
mysql_real_escape_string