DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34445>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34445 Summary: use charsets given by browser for form field encodings Product: Struts Version: Nightly Build Platform: Other OS/Version: All Status: NEW Severity: major Priority: P2 Component: File Upload AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED],[EMAIL PROTECTED] as per Bug 20813, commons fileupload now can handle the charset on a per form field basis. Unfortunately, org.apache.struts.upload.CommonsMultipartRequestHandler.addTextParameter ignores this. Next follows a patch that fixes this. An alternative option for not duplicating the parsing of the "charset" out of the contentType might be to extend the org.apache.commons.fileupload.FileItem interface to also have a public String getCharSet() method. My tests could be nicely executed with the following browser: <<Lynx Version 2.8.4rel.1 (17 Jul 2001) libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.7b Built on cygwin Aug 11 2003 22:59:49>> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]