I tried lots of thing and could not understand why i am getting ? instead accented character.
I'm using on my html:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
and my controller has the following code
@RequestParam ("name") String name
name = name.trim();
system.out.println(name);
//response t?ata
//expected tábata
how do I fix that?
Thanks
I could fix this issue by adding the following code on my master template:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With