Index: upload/src/java/org/apache/fulcrum/upload/DefaultUploadService.java =================================================================== RCS file: /home/cvspublic/jakarta-turbine-fulcrum/upload/src/java/org/apache/fulcrum/upload/DefaultUploadService.java,v retrieving revision 1.4 diff -u -r1.4 DefaultUploadService.java --- upload/src/java/org/apache/fulcrum/upload/DefaultUploadService.java 8 Nov 2004 09:49:36 -0000 1.4 +++ upload/src/java/org/apache/fulcrum/upload/DefaultUploadService.java 16 Jul 2005 08:12:15 -0000 @@ -115,11 +115,8 @@ public ArrayList parseRequest(HttpServletRequest req, String path) throws FileUploadException { - - return (ArrayList) - (getFileUpload()) - .parseRequest(req, sizeThreshold, sizeMax, path); - + fileUpload.setHeaderEncoding(req.getCharacterEncoding()); + return (ArrayList)fileUpload.parseRequest(req, sizeThreshold, sizeMax, path); } @@ -138,10 +135,8 @@ int sizeMax, String path) throws FileUploadException { - - return getFileUpload() - .parseRequest(req, sizeThreshold, sizeMax, path); - + fileUpload.setHeaderEncoding(req.getCharacterEncoding()); + return fileUpload.parseRequest(req, sizeThreshold, sizeMax, path); } /**