I’m writing a jsp website in which I get a query from client. I have to normalize the encoding of the query, I mean I should change the query from its encoding to UTF-16. Because of that, I need to know the encoding of the client.
Does browsers send this information on the request ?
HttpServletRequest.getCharacterEncoding()