I am using MariaDB 10.2 with a table created with utf8mb4 charset. Once connected I have set
PHP Code:
hDatabase.SetCharset ("utf8mb4");
But it does not work. After shifting to
PHP Code:
hDatabase.SetCharset ("utf8");
utf-8 is working but 4-bytes utf-8 does not work. When using
PHP Code:
SQL_FastQuery (hDatabase, "SET NAMES 'utf8mb4'");
4-bytes utf-8 is working, but it's not 100%.
Do you know any reliable solution for connecting sourcemod and MySQL with utf8mb4?
__________________