'Minified js file has unicode symbols like A-Za-zÀ-ÖØ-öø-ʸ̀֐ࠀ῿‎Ⰰ-﬜︀﹯﻽ which is breaking code

A third party minified js file that I am using for my project has unicode symbols like "A-Za-zÀ-ÖØ-öø-ʸ̀-Öà €-῿‎Ⰰ-﬜︀-﹯﻽-ï¿¿" which is breaking my code. But when i replace them with their equivalent unicode characters like: 'A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF' + '\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF'; in the minified file itself, my code is working fine. But the problem arises when i try to check-in my code in my jira using putty command submit_files.pl, the sparta validator runs and gives a failure. How can i make that the validator pass? Is there any other way to deal with these unicode symbols?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source