mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:33 +01:00
c2c1bdb6ad
MySQL and MariaDB before 10.1 need 4-byte utf8 chars replaced with our default utf8 charset (MariaDB 10.1 does the replacement automatic, 10.0 cuts everything off behind and MySQL gives an error) Changing charset to utf8mb4 requires schema update, shortening of some indexes and probably have negative impact on performace! if (substr($this->Type, 0, 5) == 'mysql' && $this->ServerInfo['version'] < 10.1) { $value = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value); } |
||
---|---|---|
.. | ||
images | ||
inc | ||
js | ||
lang | ||
ntlm | ||
setup | ||
src | ||
templates | ||
tests | ||
anon_images.php | ||
asyncservices.php | ||
asyncwrapper.php | ||
categories.php | ||
config.php | ||
emclient-signatures.php | ||
images.php | ||
lang.php | ||
thumbnail.php | ||
user.php |