I'm receiving form data in my Spring MVC controller, but when I try to input non-ASCII characters I receive rubbish, áéíóú
gets converted into áéÃóú
.
I'm using <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
in the jsp pages, Tomcat is configured to accept UTF-8
in the URI/Connection part and the form
is set to acceptCharset="UTF-8"
. No idea where to look into next.
I'm testing on Firefox 38.0 in Ubuntu 14.04. The server is in Ubuntu 14.04 too.