_MySQL.Charset (gb.mysql)
Property Charset As String
PROPERTY Charset AS String
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.