DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34662>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34662

           Summary: Failed character encoding in strings sended using GET
                    method
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Let me explain problem using two test pages.

test.jsp
--------------------------------
<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<form action="test2.jsp" method="GET">
                <input type="text" name="test">
</form>
--------------------------------

test2.jsp
--------------------------------
<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%request.setCharacterEncoding("UTF-8");%>
<%=request.getParameter("test")%>
--------------------------------

I send russian symbols from page test.jsp to test2.jsp and symbols recieved in 
test2.jsp in wrong encoding (may be in ISO-8859-1).

With method POST all works OK.

Windows XP SP2, Tomcat 5.5.9, J2SE 1.5 update 2

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to