Posted By:
pat_chiazz
Posted On:
Friday, December 7, 2007 10:50 AM
Charsets used and how to change I am in Canada and writing jsp pages for a Russian client, with Russian characters. I can display the characters with a simple html page from my desktop. We are using Apache web server 2. 2.3 and if I have it server me the page it displays correctly. I use UTF-8 encoding everywhere. The problem is using jsp, I guess going through Tomcat, to generate the page, it changes the encoding and the characters do not show up correctly. I have included the following at the top of all my jsp files: <%@ page contentType="text/html; charset=UTF-8" %> I
More>>
Charsets used and how to change
I am in Canada and writing jsp pages for a Russian client, with Russian characters. I can display the characters with a simple html page from my desktop. We are using Apache web server 2. 2.3 and if I have it server me the page it displays correctly.
I use UTF-8 encoding everywhere.
The problem is using jsp, I guess going through Tomcat, to generate the page, it changes the encoding and the characters do not show up correctly.
I have included the following at the top of all my jsp files:
<%@ page contentType="text/html; charset=UTF-8" %>
I am using Tomcat 5.5
So how can I have Tomcat keep the encoding.
Thanks,
Pat
<<Less