[
https://issues.apache.org/jira/browse/HTTPCLIENT-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1783.
-------------------------------------------
Resolution: Not A Problem
MIME headers are not supposed to contain non-ASCII characters. One must use so
called browser compatibility mode in order to force the use of non-standard
character encoding
http://hc.apache.org/httpcomponents-client-4.5.x/httpmime/apidocs/org/apache/http/entity/mime/MultipartEntityBuilder.html#setMode(org.apache.http.entity.mime.HttpMultipartMode)
Oleg
> upload file with Chinese name
> -----------------------------
>
> Key: HTTPCLIENT-1783
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1783
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Affects Versions: 4.5.1
> Reporter: 张恒强
> Labels: ChineseCharacters
>
> I use http client(4.5.1) to upload file,when the name of file contains
> Chinese character,server side can not get the file. but i test the interface
> of uploading file with Postman, everything is ok,even the name of file
> contains Chinese character. how can i resovle this problem? very thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]