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.
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.