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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25360

request.setCharacterEncoding(String enc) does not work.

           Summary: request.setCharacterEncoding(String enc) does not work.
           Product: Tomcat 5
           Version: 5.0.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Maybe it is a bug in class CoyoteRequest, my solution is here:
diff -u CoyoteRequest.java.old  CoyoteRequest.java.new
--- CoyoteRequest.java.old      2003-12-09 21:51:57.000000000 +0800
+++ CoyoteRequest.java.new      2003-12-09 21:52:23.000000000 +0800
@@ -2325,9 +2325,9 @@
 
         String enc = coyoteRequest.getCharacterEncoding();
         if (enc != null) {
-            parameters.setEncoding(enc);
+            parameters.setQueryStringEncoding(enc);
         } else {
-            parameters.setEncoding
+            parameters.setQueryStringEncoding
                 (org.apache.coyote.Constants.DEFAULT_CHARACTER_ENCODING);
         }

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

Reply via email to