Skip to content

mysql_get_charset

imshooter edited this page Nov 29, 2026 · 1 revision

The character set of a handle.

native bool:mysql_get_charset(
    destination[],
    max_len = sizeof (destination),
    MySQL:handle = MYSQL_DEFAULT_HANDLE
);

With open.mp names, from the same include:

native bool:MySQL_GetCharset(
    destination[],
    max_len = sizeof (destination),
    MySQL:handle = MYSQL_DEFAULT_HANDLE
);

Parameters

Parameter Description
destination[] Array for the name.
max_len = sizeof (destination) Size of the array.
MySQL:handle = MYSQL_DEFAULT_HANDLE The handle.

Returns

  • true when it was written.
  • false when the handle does not exist.

Home

Guides

Reference

Functions

Connections
Queries
Cache
JSON cells
ORM
Queries built in pieces
Prepared statements
Batches
Transactions
Passwords
Callbacks

Clone this wiki locally