Demande de documentation car beaucoup de personnes pensent être en UTF-8 alors que la base est toujours en latin, ou parfois même certaines tables seulement.
Il me semble (à confirmer) qu’il faudrait une page pour aider
quel encodage utiliser quand on crée une base la première fois
quels problèmes sont rencontrés quand les encodages évoluent, quelques explications latin/utf-8
comment convertir avec spip-cli sql:convert:toutf8
Understanding How MySQL Collation and Charset Settings Impact Performance
❝After Testing Conclusions
There are several observations to make:
MySQL 5.7 outperforms MySQL 8.0 in latin1 charset
MySQL 8.0 outperforms MySQL 5.7 by a wide margin if we use utf8mb4 charset
Be aware that utf8mb4 is now the default MySQL 8.0, while MySQL 5.7 has latin1 by default
When running comparisons between MySQL 8.0 and MySQL 5.7, be aware of what charset you are using, as it may affect the comparison a lot.❞