Update of /sources/public/2006/unicorn/org/w3c/unicorn/request In directory hutz:/tmp/cvs-serv16302/org/w3c/unicorn/request Modified Files: Request.java Log Message: Fixed encoding issues with Jigsaw Index: Request.java =================================================================== RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/request/Request.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Request.java 23 Sep 2008 13:53:58 -0000 1.9 +++ Request.java 23 Sep 2008 14:26:19 -0000 1.10 @@ -137,7 +137,7 @@ protected Response streamToResponse(InputStream is) throws IOException { StringBuilder builder = new StringBuilder(); - InputStreamReader isr = new InputStreamReader(is); + InputStreamReader isr = new InputStreamReader(is, "UTF-8"); char[] chararray = new char[8192]; int readLength = 0; while((readLength = isr.read(chararray, 0, 8192)) > -1) {Received on Tuesday, 23 September 2008 14:26:54 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 September 2008 14:26:55 GMT