Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0F660200B97 for ; Sun, 9 Oct 2016 18:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0E0F5160ADA; Sun, 9 Oct 2016 16:15:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 78A8A160AD6 for ; Sun, 9 Oct 2016 18:15:21 +0200 (CEST) Received: (qmail 81191 invoked by uid 500); 9 Oct 2016 16:15:20 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 81177 invoked by uid 99); 9 Oct 2016 16:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2016 16:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7E76B2C014E for ; Sun, 9 Oct 2016 16:15:20 +0000 (UTC) Date: Sun, 9 Oct 2016 16:15:20 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPCLIENT-1783) upload file with Chinese name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 09 Oct 2016 16:15:22 -0000 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1783?page=3Dcom.atl= assian.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-stan= dard character encoding http://hc.apache.org/httpcomponents-client-4.5.x/httpmime/apidocs/org/apach= e/http/entity/mime/MultipartEntityBuilder.html#setMode(org.apache.http.enti= ty.mime.HttpMultipartMode) Oleg=20 > upload file with Chinese name > ----------------------------- > > Key: HTTPCLIENT-1783 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-178= 3 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient (classic) > Affects Versions: 4.5.1 > Reporter: =E5=BC=A0=E6=81=92=E5=BC=BA > Labels: ChineseCharacters > > I use http client(4.5.1) to upload file,when the name of file contains Ch= inese 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 cont= ains 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: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org