Skip to main content Help Control Panel

Login   A+   A-

Development «   Development blog «  

Support of utf-8 database [7.8]

Currently YACS encodes every content to Unicode entities before saving it in the database. This is quite efficient and flexible, except that punctuation characters put around Unicode entities just break the MySQL indexing algorithm that support full-text search.

Therefore the necessity we have to natively support UTF-8 database where possible, and to allow for search requests that have accented characters, etc.

Several design questions are still open:
  • can we detect automatically the full support of UTF-8 from MySQL?
  • can we ask for it when creating tables in the database ?
  • can we change database encoding afterwards ?
  • how to migrate previous database content ?


Database experts are welcome to help us...

2- Agnes on Sep. 12 2007

Hum, je ne suis pas sûre d'avoir absolument tout compris, mais... est-ce que se serait à cause de ça que mon identifiant "Agnès" s'est mis à ne plus fonctionner après le passage en 7.8 et qu'il a fallu changer en enlevant l'accent ?
-----
Agnès
Il n'y a pas de problèmes, que des solutions.

***** 4 rates
Posted by Bernard on June 27 2007, page edited by Bernard on Dec. 10 2007, (popular)