Closed Bug 345882 Opened 18 years ago Closed 18 years ago

Double clicking .html file with Unicode name not supported by Firefox

Categories

(Firefox :: Shell Integration, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 278161

People

(Reporter: myriachan, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

If you have a .html file whose name contains characters not in your default code page, double clicking the file in Explorer starts Firefox, but Firefox tries to open the file with ?'s instead of the characters not in the code page, resulting in an error.

Reproducible: Always

Steps to Reproduce:
1. Set Firefox as your default browser.
2. Create a .html file on your disk that has Unicode characters that are not in your default code page.
3. Double click the file in Explorer.

Actual Results:  
Firefox attempts to display file:///C:/downloads/%3F%3F.html , the %3F's being question marks.

File not found

Firefox can't find the file at /C:/downloads/??.html.

    *   Check the file name for capitalization or other typing errors.
    *   Check to see if the file was moved, renamed or deleted.

Expected Results:  
Firefox should have called GetCommandLineW to read the Unicode filename from the operating system.

If you copy and paste the filename into the URL to replace the ?'s, Firefox displays the correct filename, but it still can't open the file.

This bug has forced me to switch back to Internet Explorer.
Version: unspecified → 1.5.0.x Branch
Did a few searches and could not find a dup. for this so marking as new. If someone finds one - please re-mark!
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is a dupe of a bug that was fixed on trunk and mostly fixed on the 1.8 branch.
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 278161 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.