Closed Bug 345240 Opened 18 years ago Closed 16 years ago

Not loading an image with ACUTE ACCENT characters in name (not related to space)

Categories

(Firefox :: General, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: AntonioCS, Unassigned)

References

Details

(Whiteboard: CLOSEME 07/14)

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

I created a php page to generate thumbnails (which works)
The problem was not all the thumbnails where showing up in Firefox.
The one's that were not showing up were:
Thumb_A turma do Kick - Cacém.jpg
Thumb_Os Sócio s3.jpg
Thumb_Os Sócios.jpg
Thumb_Os Sócios2.jpg
(there were more, but this is enough to see a pattern)

All those names where in the html tag <img> in the src definition:
(the images where in the thumbs folder)
<img src="thumbs/Thumb_Os Sócio s3.jpg"/>
<img src="thumbs/Thumb_Os Sócios.jpg"/>
<img src="thumbs/Thumb_Os Sócios2.jpg"/>

The problem here are not the spaces, because I had many other images with spaces and they were shown. The problem is, firefox does not load images with the ´ in their name. IE loaded them perfectly. When I dragged and dropped one of those images to firefox, it was shown, but when I do it with the <img> tag it is not 

Reproducible: Always

Steps to Reproduce:
1. Just put <img src="Some image with an acute accent on it's name"/> on a html page
2. Open it with Firefox


Actual Results:  
The image is not shown

Expected Results:  
The image
This works for me (on Linux, I'll test on Windows later). Maybe there is an encoding issue: do accented letters appear correctly in ordinary text?
(In reply to comment #1)
> This works for me (on Linux, I'll test on Windows later). Maybe there is an
> encoding issue: do accented letters appear correctly in ordinary text?
> 

Yes it does display them correct in ordinary text
There are a few players involved. What is your web server and where are you running it? How is the filename encoded in your file system? (if you give the name of your OS, I'll figure it out). What is the encoding of your PHP file? 
(Why don't you just attach your PHP file here? )
(In reply to comment #3)
> There are a few players involved. What is your web server and where are you
> running it? How is the filename encoded in your file system? (if you give the
> name of your OS, I'll figure it out). What is the encoding of your PHP file? 
> (Why don't you just attach your PHP file here? )
> 

I am using WindowsXP Pro Sp2 and running apache.

Here is the output of the php script I wrote -> http://pastebin.bafserv.com/144

The lines 92 and 109 don't show the images :(

You can see FF's output here -> http://img152.imageshack.us/my.php?image=ffoutputpq1.jpg

And tou can see IE's output here -> http://img228.imageshack.us/my.php?image=ieoutputmj5.jpg
(In reply to comment #4)

> I am using WindowsXP Pro Sp2 and running apache.

I'm not sure how Apache on Windows XP maps a pathname in a URL to a local file name. Type 'about:config' in the address bar and type 'utf' in the search box. Change 'network.standard-url.encode-utf8' to 'true' and see if it makes any difference.

 
> Here is the output of the php script I wrote -> http://pastebin.bafserv.com/144


Can you just attach your PHP *source* here?
 
(In reply to comment #5)
> (In reply to comment #4)
> 
> > I am using WindowsXP Pro Sp2 and running apache.
> 
> I'm not sure how Apache on Windows XP maps a pathname in a URL to a local file
> name. Type 'about:config' in the address bar and type 'utf' in the search box.
> Change 'network.standard-url.encode-utf8' to 'true' and see if it makes any
> difference.
> 
> 
> > Here is the output of the php script I wrote -> http://pastebin.bafserv.com/144
> 
> 
> Can you just attach your PHP *source* here?
> 
> 

I don't see the need for the php script. 
This is the output -> http://pastebin.bafserv.com/144
The php didn't do anything to the images name it just got them from the folder and then placed it in the table
*** Bug 355960 has been marked as a duplicate of this bug. ***
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
Version: unspecified → 1.5.0.x Branch
Antonio, does the problem also occur in a recent Firefox trunk build?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

Can you provide an URL that demonstrates the problem please?
closing as incomplete, no response since 4 months.

Reporter: If you can still reproduce this bug with a latest Firefox Trunk Build
or Firefox Beta 5, please comment and reopen. Please provide also an URL that demonstrates the problem.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.