Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 40555 invoked by uid 500); 2 Aug 2001 14:20:32 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 40544 invoked by uid 500); 2 Aug 2001 14:20:32 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Received: (qmail 40537 invoked from network); 2 Aug 2001 14:20:32 -0000 Received: from h32.sny.collab.net (HELO icarus.apache.org) (64.208.42.42) by h31.sny.collab.net with SMTP; 2 Aug 2001 14:20:32 -0000 Received: (qmail 83793 invoked by uid 1064); 2 Aug 2001 14:20:06 -0000 Date: 2 Aug 2001 14:20:06 -0000 Message-ID: <20010802142006.83792.qmail@icarus.apache.org> From: rubys@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis/transport/http AxisServlet.java X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N rubys 01/08/02 07:20:06 Modified: java/src/org/apache/axis/transport/http AxisServlet.java Log: return correct content-length when multi-byte-encoded-char in response Submitted by: NAKAMURA, Hiroshi [mailto:nahi@keynauts.com] Revision Changes Path 1.33 +1 -1 xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java Index: AxisServlet.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/AxisServlet.java,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- AxisServlet.java 2001/07/30 13:24:27 1.32 +++ AxisServlet.java 2001/08/02 14:20:06 1.33 @@ -205,7 +205,7 @@ } else { response = (String)msg.getAsString(); } - res.setContentLength( response.length() ); + res.setContentLength( response.getBytes().length ); res.getWriter().print( response ); } }