Just to inspire true developers: I'm playing with the code of a new tool,
that replaces/adds diacritical marks of the character preceding the cursor
into edit textarea. The trick is to decompose the character with
.normalize("NFD"), to change what needs to be changed, and to recompose it
with .normalize("NFC").
Much faster and comfortable than the usual, painful search for the needed
exotic character into Special characters or into a Unicode table.
The code is primitive and undocumented, styling is horrible, but it runs
and it seems to be a stand-alone code running into any project ( NOT into
Visual Editor, I presume) , to test it simply mw.loader.load() it in edit
mode from
https://it.wikisource.org/wiki/Utente:Alex_brollo/Unicode_combining_diacrit…
and feel free to use/change/ignore it as you like: it's simply a "running
idea".
Alex