commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14120] - [FileUpload] uploading files with non-ASCII filenames
Date Mon, 31 Mar 2003 12:48:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14120>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14120

[FileUpload] uploading files with non-ASCII filenames





------- Additional Comments From shinsuke@yahoo.co.jp  2003-03-31 12:48 -------
When is this bug fixed?
I encountered it when I used the different encoding between
the system default encoding and the web app. encoding.
For example, tomcat uses EUC-JP as the system default encoding, 
and the web app. uses UTF-8 as the HTML page encoding. 
In this case, we get "???" as the uploaded file name. 
Because baos.toString() uses the default encoding, 
to parse the file name should use HTML page encoding. 
(If the system default encoding is the same as web app. one,
this bug is not reproduced.) 

I created the patch to add an encoding parameter.
It does not break the existing user's application using commons-fileupload.
Please evaluate and integrate this patch.
Multibyte users (including me) need this feature...

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message