Αυτός ο ιστότοπος θα έχει περιορισμένη λειτουργικότητα, όσο εκτελούμε εργασίες συντήρησης για να βελτιώσουμε την εμπειρία σας. Αν ένα άρθρο δεν επιλύει το ζήτημά σας και θέλετε να κάνετε μια ερώτηση, η κοινότητα υποστήριξής μας είναι έτοιμη να σας βοηθήσει στο Twitter (@FirefoxSupport) και στο Reddit (/r/firefox).

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Image with UTF-8 filename won't show in Firefox. (It works in Chromium!)

  • 2 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 15 προβολές
  • Τελευταία απάντηση από smls

more options

My Firefox refuses to open images that have non-ASCII characters in their filename.

When I attempt to open such an image with "File > Open File...", I get a "File not found" error page.

When I reference the image in an HTML page using an IMG tag, it shows a placeholder instead of the image - even if I set the page's charset to utf-8.

(Example HTML page referencing two copies of the same image with different filenames: https://pastebin.com/raw/AQMmQ8cn -- screenshot of how it renders in Firefox, attached.)

In Chromium, the image shows just fine.

My Firefox refuses to open images that have non-ASCII characters in their filename. When I attempt to open such an image with "File > Open File...", I get a "File not found" error page. When I reference the image in an HTML page using an IMG tag, it shows a placeholder instead of the image - even if I set the page's charset to utf-8. (Example HTML page referencing two copies of the same image with different filenames: https://pastebin.com/raw/AQMmQ8cn -- screenshot of how it renders in Firefox, attached.) In Chromium, the image shows just fine.
Συνημμένα στιγμιότυπα

Τροποποιήθηκε στις από το χρήστη smls

Όλες οι απαντήσεις (2)

more options

I took a look, that's cause your are not writing HTML correctly. HTML UTF-8 does not include all the characters as single entities and that's one of them. If you do need to use that character the proper way to declare it is as so " & a u m l ; " without the spaces/quotes, cause if not it will just show the character :P

So in this case Firefox is 100% correct in the way it displayed the code where as Chrome is allowing sloppy coding to pass by undetected (which is horrible), Firefox is following the standard.

Trying the code out in Safari renders the same thing, so Safari is compliant in this case as well.

Hence the reason some pages don't display properly in some browsers, the person wrote shyte code and is a newb :P

Τροποποιήθηκε στις από το χρήστη BeerBaroN23

more options

@BaBeerbaron23 said

that's cause your are not writing HTML correctly

As I wrote above, the image also fails to load when I open it directly with the "File > Open File..." dialog. So this cannot be purely a matter of writing correct HTML.

HTML UTF-8 does not include all the characters as single entities and that's one of them.

Sorry, I have no idea what that means.

If you do need to use that character the proper way to declare it is as so " & a u m l ; "

No, the image still doesn't show when referenced like this: https://pastebin.com/raw/dycnFQq3

Τροποποιήθηκε στις από το χρήστη smls