mariadb switch to default charset utf8mb4
Currently mariadb package 10.3 for alpine 3.9 if build with default charset utf8 and default_collation utf_general_ci
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
The utf8 charset is an invalid and broken implementation made 2003 since MySQL version 4.1. It was made before today’s UTF-8 standard, RFC 3629. For compatiblity reasons, the utf8 implementation was kept and the new correct utf8mb4 implementation was added.
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
https://medium.com/@adamhooper/in-mysql-never-use-utf8-use-utf8mb4-11761243e434
(from redmine: issue id 9965, created on 2019-02-07, closed on 2019-06-19)