incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takashi Okamoto (Created) (JIRA)" <>
Subject [jira] [Created] (CB-210) Fileupload is broken for multibyte filename
Date Tue, 31 Jan 2012 12:26:10 GMT
Fileupload is broken for multibyte filename

                 Key: CB-210
             Project: Apache Callback
          Issue Type: Bug
          Components: Android
    Affects Versions: 1.3.0
            Reporter: Takashi Okamoto
            Assignee: Joe Bowser

File name is broken hen file name include multibyte character.

As far as I check the code, may have problem.

dos.writeBytes("Content-Disposition: form-data; name=\"" + new String(fileKey.getBytes("UTF-8"),"ISO-8859-1")
+ "\";" + " filename=\"" + new String(fileName.getBytes("UTF-8"),"ISO-8859-1") + "\"" + LINE_END);
Should it be filename.getBytes("utf-8")? fileKey also same problem.


Takashi Okamoto

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message