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
devaprakash_b
Active Contributor
0 Likes

Hi Brandon,

I tried the below script in IDM 8.0 SP4 version and it seems to be working. Hope it meets your requirement.

Regards,

Deva

brandonbollin
Active Participant
0 Likes

That seems like it would word for the letter A. What about all the other possibilities?

devaprakash_b
Active Contributor
0 Likes

I just gave an sample example. we need to declare all the accents chars and its replacement chars in accents and replace accents variables just like in the script which you have shared.

brandonbollin
Active Participant
0 Likes

Right. I was looking for a complete script. The goal of this post was to save time and not have to develop my own full script since I assumed this wasn't the first time such a problem had cropped up in the world of IDM.

In the end, my own co-worker had this script. He apparently ignored my email to the team asking if anyone had a script to do this so when I never got an answer from within my own company, I took to SCN. Intra-company communication would have gone a long way to save me time here but I digress.

At least maybe someone else out there in the IDM development world can benefit from using this script! 🙂