Database.SetCharset Method

Sets the character set of the connection. Like SET NAMES .. in mysql, but stays after connection problems.

Example: "utf8", "latin1"

bool SetCharset(const char[] charset)

Parameters

const char[] charset

The character set string to change to.

Return Value

True, if character set was changed, false otherwise.