maxdb_character_set_name
maxdb->character_set_name
Returns the default character set for the database connection
&reftitle.description;
Procedural style:
stringmaxdb_character_set_name
resourcelink
Object oriented style (method):
maxdb
string
character_set_name
Returns the current character set for the database connection specified by the
link parameter.
&reftitle.returnvalues;
The default character set for the current connection, either ascii or unicode.
&reftitle.examples;
Object oriented style
character_set_name();
printf ("Current character set is %s\n", $charset);
$maxdb->close();
?>
]]>
Procedural style
]]>
The above examples would be produce the following output:
&reftitle.seealso;
maxdb_client_encoding
maxdb_real_escape_string