Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MediaWiki MySQL Database Character set, which one to use?

I'm installing MediaWiki and am confused which charset to use. I installed MediaWiki before but never took care of this: I used the default choice (which is Binary), and it didn't cause any problem, but now it's different and I can make no mistake.

The wiki I'm installing is mainly using Arabic, the language is Arabic.

Which Database charset should I use?

like image 476
Tamer Shlash Avatar asked Feb 03 '23 12:02

Tamer Shlash


1 Answers

Use the default, binary. Historically, it was the only option when MySQL's Unicode support was so broken that it corrupted non-BMP characters. Later, utf8 was added to MediaWiki as an experiment, but it resulted in corruption for some weird languages. Not so long ago, utf8mb4 charset was finally introduced in MySQL 5.5 that fixes this problem, but it isn't supported by MW yet.

like image 152
MaxSem Avatar answered Feb 05 '23 09:02

MaxSem