Add this to the top of your JSP
<%@ page pageEncoding="UTF-8" %>
This will make the indirect response.setHeader("Content-Type", "text/html;charset=UTF-8")and response.setCharacterEncoding("UTF-8")in the JSP. Thus, the browser interprets the document (and therefore all the JS on it) as UTF-8.
You also need to make sure your JSP / JS files are saved as UTF-8. Check the editor settings and / or Save as, depending on the editor you are using.
, request.setCharacterEncoding("UTF-8") POST, GET. GET servletcontainer. , Tomcat URIEncoding="UTF-8" <Connector> /conf/server.xml.
. :