callfilter
New member
Hi everyone, I've discovered the following bug.
My forum names contain emoji (Unicode, country flags) and it works fine when using the standard database adapter
But recently I tried switching to ReplicationAdapter (XF\Db\Mysqli\ReplicationAdapter). Immediately after switching all the emoji disappeared and instead of them two question marks "??"
What I've tried:
1. Add the emoji to the forum names again through the admin panel (unsuccessful)
2. Use the parameter $config['fullUnicode'] = true; in different places (unsuccessful).
I am using fully managed mysql from DigitalOcean.
DB configuration:
My forum names contain emoji (Unicode, country flags) and it works fine when using the standard database adapter
But recently I tried switching to ReplicationAdapter (XF\Db\Mysqli\ReplicationAdapter). Immediately after switching all the emoji disappeared and instead of them two question marks "??"
What I've tried:
1. Add the emoji to the forum names again through the admin panel (unsuccessful)
2. Use the parameter $config['fullUnicode'] = true; in different places (unsuccessful).
I am using fully managed mysql from DigitalOcean.
DB configuration:
PHP:
<?php
$config['db']['adapterClass'] = 'XF\Db\Mysqli\ReplicationAdapter';
$config['fullUnicode'] = true;
$config['db']['write'] = [
'host' => '*******.ondigitalocean.com',
'port' => '25060',
'username' => '*****',
'password' => '*****',
'dbname' => '*****',
'fullUnicode' => true
];
$config['db']['read'] = [
'host' => '*****.ondigitalocean.com',
'port' => '25060',
'username' => '******',
'password' => '******',
'dbname' => '*****',
'fullUnicode' => true
];
Last edited: