I am having a dilemma whether to edit a javascript file or not. When I open it with gedit, it shows the following warning:
The file you opened has some invalid characters. If you continue editing this file you could corrupt this document. You can also choose another character encoding and try again.
The current encoding is UTF-8. As the file has over 100,000 lines of code, is there a quick way to scan for the invalid characters?