For a while now, I've used phpMyAdmin to manage my local MySQL databases. One thing I'm starting to pick up is the correct character sets for my database. I've decided UTF-8 is the best for compatibility (as my XHTML templates are served as UTF-8) but one thing that confuses me is the varied options for UTF-8 I'm presented with in the phpMyAdmin interface?
The two I've isolate are:
- utf8_general_ci
- utf8_unicode_ci
So my question is this: what is the difference between the general
and unicode
variants of utf8
in MySQL? (I've come to learn that ci
is shorthand for case-insensitive)
Any help would be most grateful in this matter.