10.05.2017, 21:24
I set my database and tables collations to utf8_unicode_ci
and added this code in my gamemode
but the result was like
how can i solve this problem?
and added this code in my gamemode
Код:
SQL_Connect() {
g_iHandle = mysql_connect(SQL_HOSTNAME, SQL_USERNAME, SQL_DATABASE, SQL_PASSWORD);
if (mysql_errno(g_iHandle) != 0) {
printf("[SQL] Connection to \"%s\" failed! Please check the connection settings...\a", SQL_HOSTNAME);
}
else {
mysql_query(g_iHandle, "SET NAMES utf8 COLLATE utf8_unicode_ci"); mysql_query(g_iHandle, "set character_set_connection=utf8");
printf("[SQL] Connection to \"%s\" passed!", SQL_HOSTNAME);
}
}
Код:
єйТ№аґзЎгЛБи

