/show_bug.cgi?id=28966
JSP pages with UTF-8 characters always displays as ISO-8859-1
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
/show_bug.cgi?id=28966
JSP pages with UTF-8 characters always displays as ISO-8859-1
--- Additional Comments From [EMAIL PROTECTED] 2004-06-16 14:42 ---
Have you tried experimenting with the javaEncoding attribute of the JSPServlet
(or the JspC compiler if you use
/show_bug.cgi?id=28966
JSP pages with UTF-8 characters always displays as ISO-8859-1
--- Additional Comments From [EMAIL PROTECTED] 2004-05-28 18:12 ---
I'm not familiar enough with the relevant code to offer a solution, but I do
have a suggestion: send your query to the tomcat-user list
/show_bug.cgi?id=28966
JSP pages with UTF-8 characters always displays as ISO-8859-1
Summary: JSP pages with UTF-8 characters always displays as ISO-
8859-1
Product: Tomcat 5
Version: 5.0.23
Platform: PC
OS/Version: Linux
When a response to the browser is in UTF-8 encoding form responses from said
page are giving UTF-8 characters when req.getParameter is called. i.e.
instead of getting é, I get the UTF-8 encoding é returned to our servlet.
Surely the getParameter method should return é as it does with other
try this code, Dave.
String str = new String(request.getParameter(key).getBytes(ISO-8859-1), UTF-8);
-Original Message-
From: Oxley, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 5:30 PM
To: '[EMAIL PROTECTED]'
Subject: UTF-8 characters
When a response to the browser
Cheers,
Worked a treat. Should this code be done automatically by Tomcat?
Dave.
-Original Message-
From: Kent Degrano [mailto:[EMAIL PROTECTED]
Sent: 04 March 2003 09:59
To: Tomcat Developers List
Subject: RE: UTF-8 characters
try this code, Dave.
String str = new String
+1 to that
Original Message
From: Oxley, David [EMAIL PROTECTED]
Sent: 2003-03-04
To: 'Tomcat Developers List' [EMAIL PROTECTED]
Subject: RE: UTF-8 characters
Cheers,
Worked a treat. Should this code be done automatically by Tomcat?
Dave.
-Original Message-
From: Kent
, Oxley, David wrote:
Cheers,
Worked a treat. Should this code be done automatically by Tomcat?
Dave.
-Original Message-
From: Kent Degrano [mailto:[EMAIL PROTECTED]
Sent: 04 March 2003 09:59
To: Tomcat Developers List
Subject: RE: UTF-8 characters
try this code, Dave.
String str = new