java - Spring MVC Encoding Issue -


i'm using spring mvc thymeleaf. when post form has ® in parameter, displays in windows-1252 format instead of utf-8.

here input post form:

<input type="checkbox" name="brand" id="brand1" value="brand®"> 

here how looks in url:

http://localhost:8080/categories?brand=brand%ae&x=87&y=37 

i've done research , looks ® equal %ae in windows-1252, equal %c2%ae in utf-8. when manually post url %c2%ae, interprets correctly.

i'm using intellij 14.1.3 on windows 7, , web server tomcat 8.0.21. starting tomcat 8.0.3-rc, default uri encoding set utf-8 in tomcat, , verified ide , project encodings set utf-8 in intellij. also, html file has <meta charset="utf-8" /> tag @ beginning.

do have idea how can resolve issue?

thanks in advance


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -