cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Does anyone have a JavaScript that they use in IDM that will take in a string and replace all accented characters with their non-accented equivalents? I've found a few online in non-IDM forums, like Stack Overflow or GitHub, that claim to work but when I plug them into IDM, they don't work.

If anyone has such a script that they use and know will work in IDM, I'd appreciate the knowledge transfer.

View Entire Topic
former_member85790
Participant

Hi Brandon, attached is the script I put together for this purpose - perhaps overkill, as it handles a few very obscure characters.

It also has an optional mode flag depending on whether you want it to return characters it could not convert (as its main purpose for me is for username generation, default behaviour strips any uncaught characters).

Doubtless there will be some limitations/imperfections here, but hope it is useful for you. Also, it is tested in IDM 8.3, not 7.2, but I don't expect that would make a difference.

Regards,
Adam