js garbled problem solving

The garbled code may appear in the following two situations

1. Advanced browsers directly access the js path

2.jsp reference js

Solutions for the above two situations:

1. Check the character set of the browser

2. Check the character set of the web server. For example, if Tomcat configures UTF-8, set the corresponding character set charset on the reference js

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325979220&siteId=291194637
Recommended