Java and UTF-8 encoding
Posted onIf the J2SE platform has come a long way in internationalization, entering non-ASCII text in the J2EE world isn’t nearly as easy. To achieve the same result you have to make some changes in your code and in your web server settings. Firstly, to make sure that the right value in the Content-Type header precedes the text/html content so your browser correctly auto-detects the right encoding, place the following declaration at the beginning of the JSP:…
Read more »