Extracted from Pike v7.8 release 352 at 2012-06-25.
pike.ida.liu.se
[Top]
Sql
Sql.Sql

Method Sql.Sql()->get_charset()


Method get_charset

string get_charset()

Description

Returns the (database dependent) name of the charset used for (at least) query strings. Returns zero if the connection doesn't support charsets this way (typically means that a call to set_charset will throw an error).

See also

set_charset , Sql.mysql.get_charset