diff --git a/library/Icinga/Common/Database.php b/library/Icinga/Common/Database.php index 32d21153f..fbe1e0260 100644 --- a/library/Icinga/Common/Database.php +++ b/library/Icinga/Common/Database.php @@ -31,6 +31,7 @@ trait Database $config = new SqlConfig(ResourceFactory::getResourceConfig( IcingaConfig::app()->get('global', 'config_resource') )); + $config->charset = 'utf8mb4'; $config->options = [PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_OBJ]; if ($config->db === 'mysql') {