Normalize some string removing accents & diacritics (and not the letters) from list of Unicode Characters of Category “Nonspacing Mark”.
It would be the same of using Normalization Form Canonical Decomposition (NFD) in JS ( like ã = a~ and the regex to replace ~ for ''). The difference would be when you should fetch data from a non-UI source and apply the function on server-side (need something that works in a server action).