-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url_title doesn't handle diacritics #2323
Comments
I think this behavior is ported from CI3 and in such cases we should use I don't know if there are any contraindications, but I'd love to see this function that converts accented characters also inside the |
I like the idea, but diacritics are also legal URL characters and in some locales may be necessary to distinguish one word from another. I think the original issue is an unexpected return (capital diacritics not returning their equivalent lower case). I hate to add yet another parameter - is it that inconvenient to call both functions when that's the desired return? |
After some thoughts - yet another parameter added to this function probably won't change much because it will be added at the end... so I guess calling both functions separately is the right choice. |
Fixed by #2325 |
Describe the bug
When passing a string with diacritics to
url_title
, it doesn't handle diacritics in any way.CodeIgniter 4 version
v4.0.0-rc.2.1
Affected module(s)
URL helper
Expected behavior, and steps to reproduce if appropriate
Currently
Expected behaviour
Note
There is already a config file with the list of diacritics.
Context
The text was updated successfully, but these errors were encountered: