Unable to ban user if rulebreaker, admins username or the ban reason has certain emojis

Hey

I was trying to ban an user on a server using Teamspeak 5 version 5.0.0-beta77 client and got an database error.
After that I tried to ban the user using Teamspeak 3 Client version 3.6.2 x64 and got the same error.
After some troubleshooting. I and another of the server admins became to the following conclusion: If rulebreakers username or admins username or the ban reason has certain emojis the action will fail.
Below more information about the server enviroment and partial server logs.

Is there something we can do to fix this issue?

More can be produced if needed with different conditions.
Example emojis: :cat: and :cat2:

Server is running on docker container (pterodactyl).
Server info:
Version:3.13.7 on 22.04 Ubuntu
License:No License
Uptime:65+ days

Database Server MariaDb Ubuntu 22.04 x64 (different host than ts3server)
DB collation utf8mb4_general_ci

2024-07-05 23:22:27.635200|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\x90\xB1’ for column tsdb.bans.ban_reason at row 1
2024-07-05 23:22:46.150786|INFO |VirtualServer |1 |ban added reason=‘’ cluid=‘3**************U=’ bantime=1 by client ‘Jauska’(id:10)
invalid utf8 string send to logging

2024-07-05 23:22:48.949686|INFO |BanManager |1 |ban deleted (expired) reason=‘’ cluid=‘3**************U=’ bantime=1 by client ‘server’(id:0)
2024-07-05 23:18:39.637746|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\x90\xB1’ for column tsdb.bans.ban_reason at row 1
2024-07-05 23:18:48.367216|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\xA5\xB21’ for column tsdb.bans.ban_lastnickname at row 1
invalid utf8 string send to logging
2024-07-05 23:18:59.343601|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\xA5\xB21’ for column tsdb.bans.ban_lastnickname at row 1
2024-07-05 23:19:05.495685|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\xA5\xB21’ for column tsdb.bans.ban_lastnickname at row 1
invalid utf8 string send to logging

2024-07-05 23:33:09.211175|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\x90\x88\xF0\x9F…’ for column tsdb.bans.ban_invoker_name at row 1
2024-07-05 23:33:17.587961|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\x90\x88\xF0\x9F…’ for column tsdb.bans.ban_invoker_name at row 1
2024-07-05 23:33:28.909837|ERROR |DatabaseQuery | |db_exec() INSERT INTO bans (server_id, ban_ip, ban_name, ban_uid, ban_timestamp, error: Incorrect string value: ‘\xF0\x9F\x90\xB1’ for column tsdb.bans.ban_reason at row 1
invalid utf8 string send to logging
invalid utf8 string send to logging
invalid utf8 string send to logging
invalid utf8 string send to logging
invalid utf8 string send to logging
invalid utf8 string send to logging
invalid utf8 string send to logging