| Extracted from Pike v7.8 release 866 at 2018-07-18.

[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