Diacritic

why learned is not learnèd, and why no one uses noöne. : r/linguistics

They distinguish words that look identical, like the verb resume (to start again) vs. the noun résumé (a CV).

Using a diacritic often signals that a word is a "loanword" from another language (e.g., frappé or açai ).