When I send special characters like â
through HTTP header value, I get a different unicode character request().getHeader()
.
I know it's not recommended to send special characters over HTTP headers but this is a requirement for me and first I thought it's because of JVM encoding not being set to UTF-8. But even after setting I get the same issue.
I have seen someone asked a similar question:
Play Framework Unicode symbols in HTTP Header
But hasn't got an answer.