Re: National characters don't reach Action class correctly

2001-05-17 Thread Jonathan
ot;Turgay Zengin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 17, 2001 6:01 AM Subject: Re: National characters don't reach Action class correctly > Hi! > Yes, that really helps, thank you. > I also found the same thing at a message in java-apach

Re: National characters don't reach Action class correctly

2001-05-16 Thread Turgay Zengin
Hi! Yes, that really helps, thank you. I also found the same thing at a message in java-apache-users archive at http://www.geocrawler.com/archives/3/440/2000/2/0/3373820 The interesting thing is, this doesn't happen if the Struts tag is used - then I get the correct characters. I am trying to

Re: National characters don't reach Action class correctly

2001-05-16 Thread Peiqiang Han
Turgay, If you use Tomcat 4.0 (servlet spec 2.3), you can just wirte: request.setCharacterEncoding("ISO-8895-9"); System.out.println(request.getParameter("filename")); If you use Tomcat 3.2 (Servlet spec 2.2), String data = request.getParameter("filename"); byte[] raw = data.getBytes("ISO-8859

National characters don't reach Action class correctly

2001-05-16 Thread Turgay Zengin
Hi, I need help on this: Problem is, I can see national characters on jsp pages correctly, but when I post data to an Action, the string gets messed up. I couldn't find related info in the archive. Related lines on my jsp page: <%@ page contentType="text/html; charset=ISO-8859-9" %> "> (I h