Closed
Bug 875708
Opened 11 years ago
Closed 6 years ago
Japanese Character get garbled in downloaded zip file name on save dialogue box
Categories
(Core :: General, defect, P1)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: rahul.itsgn, Unassigned)
Details
(Keywords: 64bit)
Attachments
(1 file)
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•11 years ago
|
||
String encodedURL = URLEncoder.encode(_file.getName().replace(" ","_"),"UTF-8"); contentDisposition.append(String.format("attachment; filename=%s", encodedURL));
Reporter | ||
Comment 2•11 years ago
|
||
_response.setHeader("Content-Disposition", contentDisposition.toString());
Reporter | ||
Comment 3•11 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•11 years ago
|
||
help me out if you have any solution.
Reporter | ||
Updated•11 years ago
|
Comment 5•6 years ago
|
||
I am not seeing clear steps to reproduce this problem like a public page where we could test the problem. I created a zip file named ネットワーク_CSV_レポート_300_2013-05-13_0720_2013-05-14_0846.zip uploaded it to a website I own and downloaded the file, the file name was preserved in the process so marking as WorksForMe. If you can give a test url or more information to reproduce your problem, don't hesitate to reopen the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•