Author: markt Date: Thu Sep 4 09:42:04 2014 New Revision: 1622434 URL: http://svn.apache.org/r1622434 Log: Fix corrupted characters.
Modified: tomcat/trunk/test/org/apache/catalina/connector/TestRequest.java Modified: tomcat/trunk/test/org/apache/catalina/connector/TestRequest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/connector/TestRequest.java?rev=1622434&r1=1622433&r2=1622434&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/catalina/connector/TestRequest.java (original) +++ tomcat/trunk/test/org/apache/catalina/connector/TestRequest.java Thu Sep 4 09:42:04 2014 @@ -661,7 +661,7 @@ public class TestRequest extends TomcatB writer.append("Content-Disposition: form-data; name=\"part\"\r\n"); writer.append("Content-Type: text/plain; charset=UTF-8\r\n"); writer.append("\r\n"); - writer.append("��").append("\r\n"); + writer.append("äö").append("\r\n"); writer.flush(); writer.append("\r\n"); @@ -682,7 +682,7 @@ public class TestRequest extends TomcatB while ((line = reader.readLine()) != null) { response.add(line); } - assertTrue(response.contains("Part ��")); + assertTrue(response.contains("Part äö")); } } else { fail("OK status was expected: " + status); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org