AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   does sm supports utf8mb4? (https://forums.alliedmods.net/showthread.php?t=327890)

ZASTRELIS 10-15-2020 02:58

does sm supports utf8mb4?
 
Does SM support utf8mb4 charset for MySQL(MariaDB)?

Peace-Maker 10-21-2020 03:32

Re: does sm supports utf8mb4?
 
Yes

ZASTRELIS 11-09-2020 11:28

Re: does sm supports utf8mb4?
 
Need to be changed in database.cfg? or its by default?
I've more than one DB in my config, and its all must using utfmb4, but sometimes I found broken encoding for strings.. can't understanding why it happens

Peace-Maker 11-09-2020 11:37

Re: does sm supports utf8mb4?
 
You have to set the characterset you want to use for every connection and during creation of the database and tables.

ZASTRELIS 11-09-2020 11:57

Re: does sm supports utf8mb4?
 
Quote:

Originally Posted by Peace-Maker (Post 2724370)
You have to set the characterset you want to use for every connection and during creation of the database and tables.

Yes, I found that all my plugins much this. And one old plugin (old sourceban version), uses 'utf8'. But sourceban plugins uses another db connection.
p.s. okay, found the one without setcharset :\ trying..


All times are GMT -4. The time now is 10:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.