I know the issue has been commented on numerous blogs and forums around the world, but I really do not know what it might be causing, because I think everything in my project configuration is ok:
pages * .jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<html>
<head>
<meta charset="utf-8">
<title>JooceBox v1.0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
web.xml
<filter>
<filter-name>SetCharacterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>SetCharacterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
In addition I set as a parameter in the connection to the database itself:
<property name="url" value="jdbc:mysql://localhost:3306/viatgedb?useUnicode=yes&characterEncoding=UTF-8"/>
Even with such settings when I save some record with accents the same is as follows:
'Joà £ o Manuel', 'Galà £ o Bonin'