js reads the backend and writes the cookie with garbled characters

Set the character encoding set
Cookie cookie = new Cookie("user",URLEncoder.encode(nMessage, "UTF-8"));
				response.addCookie(cookie);

Guess you like

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