I'm trying to save Chinese characters from a form submit into the database.
I've set the contentType on the jsp via
<%@ page contentType="text/html;charset=UTF-8" %>
I've also set this tag inside the of the jsp:
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=UTF-8" />
However, when I submit the form, my controller sees a different character than what I entered.
I am entering the character 我 and seeing æ?? in the controller. When the data redisplays on the page, it shows the same wrong character (æ??).
Why isn't the controller getting the correct character?