Hi,
When making a multipart post uploading a file with a filename containing
non-ascii characters, the filename appears to be incorrect written to
the http request.
If you look at the code, sendDispositionHeader() essentially sends the
filename.getBytes( "US-ASCII" ):
http://hc.apache.org/httpclient-3.x/xref/org/apache/commons/httpclient/methods/multipart/FilePart.html
However, the browsers I've tested with will send the filename.getBytes(
"ISO-8859-1" ) version of the filename and thus the software that's I'm
working with that receives the upload is decoding the filename correctly.
Would anyone else concur that this is a bug?
Thanks
Andy Wu
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]