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=23255>. 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=23255 FormFile.getFileName() problem in multibyte character file name ------- Additional Comments From [EMAIL PROTECTED] 2004-01-07 23:21 ------- Actually, it's not just the file name that's a problem - I think it's any textual form data that's posted as multipart/form-data (which makes the problem even more serious). Here's an easy way to see the problem: 1. Deploy the struts-upload example that's included with the Struts 1.1 distribution. 2. Go to http://localhost:8080/struts-upload/upload-utf8.jsp (adjust the url accordingly for your system). 3. In the first text box, enter some Japanese characters. For those of us on non-Japanese systems, the easiest way to do this is to go to a Japanese web site (e.g. www.google.co.jp), copy a few characters, and paste them into the text field. 4. Submit the form. Note that on the display page, the text comes back as an empty string, or as a munged character (depending on the input). If you want to see the problem with the file upload file name, you can (at least on Windows XP) paste Japanese characters into the file name. It won't look right under Windows Explorer, but once you "Browse" for the file on the HTML page, and the browser fills in the file name, you should be able to see the Japanese characters in the file name. When you submit the form, you'll see that the file name is also munged. Don't know if it matters, but I've been doing this with IE 6 on Windows XP Pro. --DanR --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]