Closed
Bug 361365
Opened 19 years ago
Closed 17 years ago
Firefox 2.0 cannot download chinese filename even it's unicode.
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: cpthk, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Everytime I click on a link to a unicode chinese filename file.
It cannot download successfully with the right filename.
For example the original filename is 測試.txt , after downloaded it will become __.txt
And also same thing happen if you have default application to open that type of file.
If you have a chinese unicode filename file. When the download manager pop up. If I choose "save as:", and click OK. It will give me an error messege. Here is a screenshot of the error messege: http://img181.imageshack.us/img181/6592/untitledte4.jpg
This problem does not happen in Firefix 1.5 version and Internet Explorer. 2.0 version gets more and more bugs.
The bug above already been report in forum many times, but don't see any better.
The second bug I would like to report is chinese filename but not unicode.
If the filename is chinese, but the different is this time is not unicode.
It cannot successfully download.
If it's unicode: 測試.txt will become __.txt
If it's not unicode, it cannot even download the file, will give me an error messege just like the screenshot above.
This problem happens in 1.5 version, too. "But does not happen in Internet Explorer."
I found a solution: You do right click on the link -> open link in new window.
After this step, 測試.txt will become љгу.txt (I made up that filename, but it looks exactly like that, which is unreadable) I think that is translated into ASCII. But even it's unreadable. But it could be download with that unreadable filename.
Reproducible: Always
Steps to Reproduce:
The first problem, I haven't found any solution. Even I tried "open in new window", problem still exist.
Second problem, as I mentioned. You could do "open in new window." The filename will be translate into ASCII. And the file will be downloaded with ASCII filename (unreadable) in my desktop.
Actual Results:
As I mentioned in "Steps to Reproduce"
Expected Results:
Firefox suppose to download both unicode and none-unicode chinese filename successfully. Internet Explorer does not have both problem.
Everything is the newest version in my computer. This is a very big problem. I thought 2.0 will fix. But it's actually getting more bugs. 1.5 version only has the none-unicode filename problem. 2.0 version, even the unicode filename. I am not sure about other language. I just tested Chinese. But I am sure Japanese, which is really similar to Chinese.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/2006101023 Firefox/2.0
Works for me.
It is quite hard to find content online with non-ASCII filenames, so I went to trusty Wikipedia:
http://zh.wikipedia.org/wiki/%E6%95%85%E5%AE%AB
The pages are encoded in Unicode (UTF-8). I right-clicked and "save target as" on various links on the page that had Chinese names and they saved fine. I can see them on my desktop with the correct characters.
Since it is quite difficult to find (at least for me) non-ASCII filenames, could you provide some links? I would be happy to test.
Try this website: http://bt.icefish.org
And click the link at the very right side. I took a screen shot of which link should you click. [ http://img101.imageshack.us/img101/2328/untitledfm7.jpg ] Try the link in the red box. Try some of them, but doesn't matter which of them. Because mostly doesn't work. And also try "open in new window", you could see the difference of the filename. "Open in new window" will translate into ASCII. Also, if you have default application. Try "open with:" option, you will see the error message I mentioned before. This page is the example of none-unicode. I will try to find one which is unicode as soon as possible.And this problem happens in 1.5 version, too. But Internet Explorer does not have this problem.
I just email you a Chinese unicode file name. At this time, I couldn't find a good example on any website. But the best way would be email myself a Chinese unicode filename, and download the file. The good thing is that you have gmail as your email address, which is unicode-base. And I tested hotmail would do the same thing, too. The file I sent you is a no-word text file. You could try to download it, and you could see the problem. The original filename was 測試.txt, after downloaded will become __.txt. This problem happens only on 2.0 version. 1.5 version and Internet Explorer work fine. Also, try to select "open with:" on the download manager, and select notepad to open it. You can see the error message I mentioned before.
I tested both the email you sent me and the website you put here.
I can reproduce the problem in Firefox 2:
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/2006101023 Firefox/2.0
I also tested with a nightly build and seems to have been fixed. I can not reproduce with: (works as expected)
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/2006112105 Minefield/3.0a1
Where can I get the beta version of firefox? (Gecko/2006112105 Minefield/3.0a1)
I couldn't find it.
So you mean both problem got fixed? (unicode and none-unicode)
Comment 6•19 years ago
|
||
Nightly build can download in here : http://www.mozilla.org/developer/#builds
Please fix this bug in Firefox 2.0
I just tested the nightly latest version. Unicode problem got fixed. But part of other Chinese encoding problem still exist. I tested the http://bt.icefish.org website I post earlier. Problem pretty much got solved. (Still happen around 2% of the time.
But I found some other website, specially most of forums still have the same problem. Due to this, I registered a test account for you to test out.
Website: http://www.tw-p2p.com/D-C-P2P/viewthread.php?tid=372949&extra=page%3D1
username: firefoxtest2
password: test
You might see a account required login page. Just type in the account and password, it will jump to the page you entered afterward.
Here is a screen shot of which download link you should click. http://img147.imageshack.us/img147/9931/untitled2ji9.jpg
In my case, after I click the link, it will pop up another new window, but close itself. If I do "open in new window", it will give me an error message. I tried Internet Explorer, it works fine. I am guessing firefox cannot correctly determine the character encoding when poping up another window for download link. I tried a lot of forums with poping up a new window for download link, they all have the same problem. But IE works fine.
P.S If that account does not work(which did not jump to the link), try another:
username: forefoxtest
password: test
As far as I can see, this is the same bug as this: https://bugzilla.mozilla.org/show_bug.cgi?id=364285
Firefox can save files in Unicode, but the Download manager is still very buggy.
Comment 9•17 years ago
|
||
Resolving old UNCONFIRMED Download Manager bugs as INCOMPLETE. If you still see this issue, please reopen.
To mark all these bug changes as read, filter on ONOMATOPOEIA.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•