java - Getting question mark instead accented letter using spring MVC 3 -
i tried lots of thing , not understand why getting ? instead accented character.
i'm using on html:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
and controller has next code
@requestparam ("name") string name name = name.trim(); system.out.println(name); //response t?ata //expected tábata
how prepare that?
thanks
i prepare issue adding next code on master template:
<%@ page language="java" contenttype="text/html; charset=utf-8" pageencoding="utf-8" %>
java spring unicode diacritics
No comments:
Post a Comment