Method __builtin.Sql.Connection()->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