Home / comp / gb.db.mysql / _mysql / charset 
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration   
fr  de  es  it  nl  pl  pt  pt_BR  ca  ar  fa  vi  ja  ru  zh  zh_TW  eo 
Documentation
History
 
Charset
Returns or sets the Charset used by the MySQL class.

The default Charset is utf8

Examples

Dim hCon As New Connection

With hCon
  .Type = "mysql"
  .Port = "3306"
  .Host = "localhost"
  .User = "root"
  .Password = "mypass"
  .Name = "Gambas"
  .Open()
End With

hCon.MySQL.Charset = "utf8"

Print hCon.MySQL.Charset

See your information_schema.CHARACTER_SETS for all aviable charsets.

Charset & Collations for more details.

See this example.