SQL_SetCharset Function

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

Example: "utf8", "latin1"

bool SQL_SetCharset(Handle database, const char[] charset)

Parameters

Handle database

Database Handle.

const char[] charset
No description.

Return Value

True, if character set was changed, false otherwise.