> SLUG_GENERATOR
Text → a URL-safe slug. Accented/non-Latin letters are transliterated to their closest plain-ASCII equivalent (é→e, ü→u) instead of just being dropped, which is where most simple slugifiers leave gaps.
> WHAT COUNTS AS "SAFE"
A URL slug should survive being pasted anywhere without escaping: lowercase letters, digits, and hyphens only, no spaces, no punctuation that has special meaning in a URL. The naive approach - just deleting anything that isn't plain ASCII - silently mangles titles in other languages ("café" becomes "caf" instead of "cafe"). Unicode's own normalization form (NFD) splits an accented character into its base letter plus a separate "combining mark" character, which makes stripping the accent and keeping the letter a clean, general operation instead of a hand-maintained lookup table.