Is there an existing issue for this?
Feature Description
The feature will convert a given string into a URL-friendly slug, using a combination of string manipulation and Unicode normalization.
It will perform as follows:
- Convert the input string to lowercase.
- Replace spaces with hyphens (-).
- Remove accented characters and replace them with their non-accented equivalents.
- Strip leading and trailing hyphens.
- Remove any invalid characters (special characters) except alphanumeric characters and hyphens.
- Handle edge cases such as multiple spaces, empty strings, and special characters.
For example:
"Where to find best cafés in Bhopal?" will be converted into "where-to-find-best-cafes-in-bhopal".
Record
Full Name
Arunima Singh
Participant Role
SWOC'25 Contributor
Is there an existing issue for this?
Feature Description
The feature will convert a given string into a URL-friendly slug, using a combination of string manipulation and Unicode normalization.
It will perform as follows:
For example:
"Where to find best cafés in Bhopal?" will be converted into "where-to-find-best-cafes-in-bhopal".
Record
Full Name
Arunima Singh
Participant Role
SWOC'25 Contributor