Closed Bug 576972 Opened 14 years ago Closed 14 years ago

View Page Source using an external editor does not work for local files containing non-Western characters in path

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 408923

People

(Reporter: rpr.nospam, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6

In the Firefox preferences page (about:config) I have set an external editor in the view_source.editor.path option and enabled it in the view_source.editor.external option.

The external editor is not able to edit a local file opened in FF if the path of the file contains non-Western characters.

Reproducible: Always

Steps to Reproduce:
1. Set options for using an external editor for viewing page source (view_source.editor.path and view_source.editor.external options).
2. Create a local html file that contains some non-Western characters in its path. E.g. /tmp/Ångström.html on Unil-like system or c:\temp\Ångström.html on MS Windows.
3. Open the file in Firefox.
4. Try to view the page source (Ctrl+U or View -> Page Source).
Actual Results:  
The external editor complains that it cannot open the file as it does not exist.

Process info about the editor program reveals that the path passed from FF to the external editor is wrong, i.e. the non-Western characters are not passed correctly (Å and ö in this example).

Expected Results:  
If the same page source is viewed by the internal editor it is opened fine.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.