Please confirm that you are using charset in HTML correctly:
HTML 4
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
HTML 5
<meta charset="utf-8"/>
JSP
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page language="java" pageEncoding="UTF-8"%>
Since you are using Spring MVC, it is important to register a filter that encoding UTF-8. Then, register in your file web.xml
o CharacterEncodingFilter
and configure it to work with UTF-8.
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>