Open Bug 693561 Opened 14 years ago Updated 3 years ago

Problem opening downloaded files on non-unicode systems

Categories

(Toolkit :: Downloads API, defect)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mail, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110928221717 Steps to reproduce: Steps to reproduce: ------------------- 1. Launch Firefox with the encoding set to Latin-1. This can be done in Ubuntu by setting the LC_CTYPE and LANG environment variables. $ export LC_CTYPE=en_US $ export LANG=en_US $ firefox Ensure that en_US is listed when running $ locale -a If not, generate it using $ sudo locale-gen en_US.ISO-8859-1 2. Download a file where the filename contains a non-ASCII character. 3. Attempt to open it from the download manager (or directly select Open With in the dialog when starting the download). Tested using Firefox 7.0.1, but applies to earlier versions as well. Tested on Ubuntu 10.04. Actual results: The application associated with the file type launches, but complains that it can't find the file. What happens is that the file name encoded in Latin-1 when saved, but the name passed to the helper application to open the file is encoded in UTF-8. Expected results: The application should have been passed the file name encoded according to the active locale, in this case, Latin-1.
OS: All → Linux
Hardware: All → x86
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.