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=24504>.
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=24504

Cannot create a document that has accent characters (Latin) in it's name





------- Additional Comments From [EMAIL PROTECTED]  2003-11-18 17:30 -------
Form-based File Upload in HTML specification (RFC 1867)
<http://www.ietf.org/rfc/rfc1867.txt> that HttpClient implements follows the
rules of all multipart MIME data streams as outlined in RFC 1521 and RFC 1522.
MIME specification requires all non-ASCII content to be represented using ASCII
charset only. Currently HttpClient does not perform such translation
automatically. You will have to take care of filename encoding prior to passing
it to the FilePart as a parameter.

I was going to contribute quote-printable encoder/decoder to the Commons Codec
library but never got a chance.

To sum things up: if the relevant RFCs are to be strictly adhered to, the
behaviour on the part of HttpClient is correct. However, I do agree that it
would be nice if HttpClient took care of non-ASCII charset translation
automatically. So, feel free to reopen this bug as a feature request.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to