We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

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

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

UTF-8 character encoding not working in Firefox

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

more options

I have a jPlayer playlist that works fine in all browsers except Firefox.

The issue is with non-standard characters, i.e. characters with accents or asian characters. I have set up a demo playlist so that you can see here.

When I enter the characters in UTF-8 form (track 1 in the playlist) they work on all browsers except for Firefox, and when I enter them in ISO Latin 1 (track 2 in the playlist) they work in Firefox but no other browsers.

So, for instance in Firefox 大å°æ¸æ¿.mp3 works, whereas 大地書房.mp3 doesn't.

There is a meta tag for UTF-8 on the demo page, i.e.

My understanding is that Firefox overwrites this with the response header if a default encoding isn't set in FF. I have however set UTF-8 to be the default encoder and I have checked that the page is using UTF-8 by going to Tools/Page Info (I am on a Mac and I believe this is the way to check the encoding on the page).

So, I'm at a loss as to what is going on, and would be glad of some help.

I have a jPlayer playlist that works fine in all browsers except Firefox. The issue is with non-standard characters, i.e. characters with accents or asian characters. I have set up a demo playlist so that you can see [http://monthlymixup.com/mixups/july_2012/index.php here]. When I enter the characters in UTF-8 form (track 1 in the playlist) they work on all browsers except for Firefox, and when I enter them in ISO Latin 1 (track 2 in the playlist) they work in Firefox but no other browsers. So, for instance in Firefox 大å°æ¸æ¿.mp3 works, whereas 大地書房.mp3 doesn't. There is a meta tag for UTF-8 on the demo page, i.e. My understanding is that Firefox overwrites this with the response header if a default encoding isn't set in FF. I have however set UTF-8 to be the default encoder and I have checked that the page is using UTF-8 by going to Tools/Page Info (I am on a Mac and I believe this is the way to check the encoding on the page). So, I'm at a loss as to what is going on, and would be glad of some help.

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

more options

No time to register at the moment...

Are you specifying the titles and file names in your JavaScript code as on this jPlayer demo page? http://jplayer.org/latest/demo-02/

more options

Yes I am. I have a lot of experience of using jPlayer, just not with unusual characters in the filename