I haven't tried this, but it sounds like translators and Language Engineering folks might be interested.
Pine
---------- Forwarded message ---------- From: Alex Brollo alex.brollo@gmail.com Date: Tue, Aug 1, 2017 at 12:10 AM Subject: [Wikisource-l] An it.source gadget to manage diacritics To: wikisource list wikisource-l@lists.wikimedia.org
Just to let it known, some it.source contributors are using a comfortable gadget to manage diacritics - it can delete, replace or add a pretty large list of diacritical marks to any character with a single click.
It uses .normalize() string method, so decomposing-recomposing (when possible) unicode characters and allowing to manage diacritics alone indipendently from base ascii character.
Perhaps is this gadget "rediscovering the wheel"....? Anyway, the code is here: https://it.wikisource.org/wiki/MediaWiki:Gadget-pulsanti-diacritici.js
Alex brollo
_______________________________________________ Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l