[ http://issues.apache.org/struts/browse/STR-1757?page=all ] David Evans closed STR-1757: ----------------------------
Resolution: Fixed > FormFile.getFileName() problem in multibyte character file name > --------------------------------------------------------------- > > Key: STR-1757 > URL: http://issues.apache.org/struts/browse/STR-1757 > Project: Struts Action 1 > Type: Bug > Components: Action > Versions: 1.1 Final > Environment: Operating System: All > Platform: All > Reporter: miyamiya > Assignee: David Evans > Fix For: 1.2 Family > Attachments: CommonsMultipartRequestHandler.java.diff > > CommonsMultipartRequestHandler#handleRequest(HttpServletRequest) > used "DiskFileUpload" > but not called > DiskFileUpload#setHeaderEncoding(String) > so > I can't get file name correctry > when the browzer(html) character encoding is different from servlet container. > I think like following statement in handleRequest method. > ------------------------------------------------------ > String encoding = request.getCharacterEncoding(); > upload.setHeaderEncoding(encoding); > ------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]