Opened 2 years ago
Last modified 2 years ago
#34766 closed Uncategorized
utils.text: slugify misses "l" when converting "ł" — at Initial Version
| Reported by: | Marcin Wieczorek | Owned by: | nobody |
|---|---|---|---|
| Component: | Utilities | Version: | 4.2 |
| Severity: | Normal | Keywords: | slugify, utils |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I expected polish word "żółć" to be slugified as "zolc". Instead slugify returns zoc.
$ pip freeze | grep Django
Django==4.2.4
$ python -V
Python 3.11.3
$ python
>>> from django.utils.text import slugify
>>> slugify("żółć")
'zoc'
>>> slugify("zażółć gęslą jaźń")
'zazoc-gesla-jazn'
Note:
See TracTickets
for help on using tickets.