Browse files

[1.6.x] Fixed #22458 -- Added a note about MySQL utf8_unicode_ci coll…


Thanks tobami at for the report.

Backport of 11ac50b from master
  • Loading branch information...
1 parent 839deb7 commit b6863879e1cf20acdecb3606da8fe66b486836cf @mmardini mmardini committed with timgraham Apr 18, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 docs/ref/databases.txt
@@ -360,6 +360,15 @@ table (usually called ``django_session``) and the
.. _fixed in MySQLdb 1.2.2:
+Please note that according to `MySQL Unicode Character Sets`_, comparisons for
+the ``utf8_general_ci`` collation are faster, but slightly less correct, than
+comparisons for ``utf8_unicode_ci``. If this is acceptable for your application,
+you should use ``utf8_general_ci`` because it is faster. If this is not acceptable
+(for example, if you require German dictionary order), use ``utf8_unicode_ci``
+because it is more accurate.
+.. _MySQL Unicode Character Sets:
Connecting to the database

0 comments on commit b686387

Please sign in to comment.