#34766: utils.text: slugify misses "l" when converting "ł"
----------------------------------+--------------------------------------
Reporter: Marcin Wieczorek | Owner: nobody
Type: Uncategorized | Status: closed
Component: Utilities | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: slugify, utils | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Description changed by Mariusz Felisiak:
Old 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'
> }}}
New 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'
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34766#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070189d51f9ff4-a5d23aff-750a-424f-8d32-8357af863ee2-000000%40eu-central-1.amazonses.com.