Open mikkeschiren opened 3 weeks ago
I do realize that many still run Matomo on a non recommended charset - so it is challenge per se..
@mikkeschiren The default in config is utf8
, as that should be supported by all supported database versions. During the installation we are trying to look up available charsets and if utf8m4
is available, this value will be set to the local config and used instead of utf8
Yes, but should we update the comments in the global ini file? Because it is not entirly correct now.
Are there really any of the supported databases that doesn't support utf8m4
?
officially we still support MySQL 5.5, which might not have supported utf8mb4 in the beginning. But we might drop support for older MySQL releases in the next major version, so we might be able to update the config value then.
As default, Matomo is installed with charset
utf8
(which usually meansutf8mb3
), but the recommended charset isutf8mb4
.For collation, the comment in default config says "Matomo should work correctly without this setting but we recommend to have a collation set" - but as of 5.1.2, this is needed to be set.
Should the default charset be changed to
utf8mb4
, and collation be set toutf8mb4_unicode_ci
? Or maybe just update the comments inglobal.ini.php
?