Wrong collation names in the section about MySQL collations
|Reported by:||k_sze||Owned by:||nobody|
|Severity:||Normal||Keywords:||mysql, collations, documentation|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This page mentions inexistent collation names: https://docs.djangoproject.com/en/1.4/ref/databases/#collation-settings
utf8_general_ci_swedish and utf8_collation_ci_swedish are not real collations names.
I believe the author was confusing the default collations for latin1 and utf8 charsets.
The default collation for the latin1 charset is latin1_swedish_ci.
The default collation for the utf8 charset is utf8_unicode_ci.
The mistakes persist in the latest dev documentation (https://docs.djangoproject.com/en/dev/ref/databases/#collation-settings)
While we're at it, may I suggest to abandon utf8 in favour of utf8mb4? The details deserve a separate ticket for discussion, so I'll create a new ticket and link here.
Change History (7)
comment:1 Changed 8 months ago by k_sze
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 8 months ago by bmispelon
- Cc bmispelon@… added
- Triage Stage changed from Unreviewed to Accepted
- Version changed from 1.4 to master
comment:5 Changed 8 months ago by Claude Paroz <claude@…>
- Resolution set to fixed
- Status changed from new to closed