Japanese Character get garbled in downloaded zip file name on save dialogue box

UNCONFIRMED
Unassigned

Status

()

Core
General
P1
major
UNCONFIRMED
5 years ago
5 years ago

People

(Reporter: Rahul Sharma, Unassigned)

Tracking

({64bit})

21 Branch
x86_64
Windows 7
64bit
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 753709 [details]
%E3%83%8D%E3%83%83%E3%83%88%E3%83%AF%E3%83%BC%E3%82%AF_CSV_%E3%83%AC%E3%83%9D%E3%83%BC%E3%83%88_300_2013-05-13_0720_2013-05-14_0846.zip

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

i m providing a link to download a zip file at jsp page, file name has japanese character . i m using UTF-encoding and URL encoding technique of java




Actual results:

when i try to download the file. character of file name get garbled in case of mozila. in case of chrome and IE it works fine.


Expected results:

file name should be downloaded in correct japanese character

ネットワーク_CSV_レポート_300_2013-05-13_0720_2013-05-14_0846
(Reporter)

Comment 1

5 years ago
String encodedURL = URLEncoder.encode(_file.getName().replace(" ","_"),"UTF-8");
					contentDisposition.append(String.format("attachment; filename=%s", encodedURL));
(Reporter)

Comment 2

5 years ago
_response.setHeader("Content-Disposition", contentDisposition.toString());
(Reporter)

Comment 3

5 years ago
i m using abobe steps for download a zip file which contains japanese character in it's name. but it get garbled in case of mozila. please help me out to resolve this problem.
Thank you
(Reporter)

Comment 4

5 years ago
help me out if you have any solution.
(Reporter)

Updated

5 years ago
Severity: normal → major
Keywords: 64bit
Priority: -- → P1
You need to log in before you can comment on or make changes to this bug.