#5745: MySQL Collations/Charsets and Engines
-------------------------------------+-------------------------------------
Reporter: Armin Ronacher | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: mysql | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by shaib):
* cc: shaib (added)
Comment:
For the record:
All core backends (except Oracle, it seems) can set collation per column;
collation names are not standard (and SQLite has only 3 built-in
collations, none of them reasonable for any native language). Except (I
think) for Oracle, they can also set collation for a specific query (the
collation can be used in ordering comparisons or in `ORDER BY`). This
means that any reasonable collation support in core would beget backend-
specific usages, which I wouldn't like.
However, I think core should make it possible to add collation support via
external libraries. I would like to see the API for such extension.
Of all core backends, the only one which can set the character encoding at
a level lower than the whole database is MySQL. Since Django does not
usually create databases (except for test databases), I think this feature
should not be added (except, with the API mentioned above, in a MySQL-
specific library outside core).
--
Ticket URL: <https://code.djangoproject.com/ticket/5745#comment:15>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.3c048d6c76bf6833f721a408fff2df37%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.