Closed Bug 29698 Opened 25 years ago Closed 23 years ago

Non-Ascii directory & file name should be displayed as it is in URL

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 105909

People

(Reporter: teruko, Assigned: tetsuroy)

References

Details

(Keywords: intl)

Attachments

(3 files)

I found this when I try to verify bug 28784.

Steps of reproduce
1. Create some non ASCII file name (for example, in Japanese system, create 
folder c:\日本語 and create a file called 本田.txt
2. Select menu File | Open Files to select c:\日本語\本田.txt

Notice that in URL bar displays as
file:///C|/%93%FA%96%7B%8C%EA/%96%7B%93c.html

In 4.x,
file:///D|/日本語/本田.html

Tested 2000022909 Win32, Linux, Mac build.
Status: NEW → ASSIGNED
Target Milestone: M18
URL related issue. Reassign to nhotta and cc jbetak
Assignee: ftang → nhotta
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
28784 is reopened adding it to dependency.
Depends on: 28784
Target Milestone: M18 → M28
Keywords: intl
Changed QA contact to ylong@netscape.com.
QA Contact: teruko → ylong
Target Milestone: --- → Future
nominate as nsbeta1
Keywords: nsbeta1
nsbeta1-
non functional problem, might affect non local case, e.g. ftp.
Keywords: nsbeta1nsbeta1-
Screenshot 1 attached is url1.png   It shows the bad display of the URL even
though the page is correctly displayed
Hi

I noticed a problem which seems related to the issue described here. I opened
the following URL on my computer (Mozilla 0.9.4 on Linux Mandrake 8.1) using the
menu item 'File/Open File' :
        file:/mnt/win_d/WebSite/floppy/10 août/index.html
the page displays fine but the URL reference is displayed as:
        file:////mnt/win_d/WebSite/floppy/10%20ao%FBt/index.html
Testing on the same computer using Konqueror 2.2.1 the URL is correctly shown as
        file:/mnt/win_d/WebSite/floppy/10 août/index.html

Looks like the display of blank character is put to '%20' and û is shown as
'%FB'. A cosmetic problem.

Worse still if I cut/paste the above URL into the browser (instead of using the
  menu item 'File/Open File') and hit enter the browser redisplays the following
rubbish URL
        file:///mnt/win_d/WebSite/floppy/10%20ao%C3%BBt/index.html
and a blank page!  Looks like the URL input field can't handle the french
characters. 

This problem looks related to the bad display problem but the impact is much
worse (URL input field not accepting french characters in URL name).

Let me know if there is anything I can do to help further (or if I need to
report this in another bug report).

I can be contacted at 
wstinson@infonie.fr 




The second attachment URL2.png shows what happened after I cut/pasted the URL
into the browser and hit enter. THe URL is redisplayed strangely and a blank
page is shown!
The URL is always shown correctly in Konqueuer 2.2.1 and both cut/pasting the
URL into the browser and the file open menus show the page and the URL
correctly (see URL3.PNG screenshot)
Hi

I did some testing on various browsers on WIN98 platform. Here are the results:
Netscape 4.7  URL displays OK (except ':' character shown as '|') and cut/paste
of the URL works.
Netscape 6    URL displays badly. Cut/Paste works (after hitting enter the page
shows but the URL displays badly)
IE URL displays OK and cut/paste of URL works
Opera URL displays OK and cut/paste of URL works

Roy worked on another file URL bug before, reassigned to him.
Assignee: nhotta → yokoyama
Status: ASSIGNED → NEW
Target Milestone: Future → ---
roy- do you agree to work on it ?
I think if 105909 gets fixed, then we don't have to worry
about this bug.  Marking as duplicate.




*** This bug has been marked as a duplicate of 105909 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I'm marking as verified now, will verify after bug 105909 fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: