Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

My 1st tab opens in Unicode but the 2nd tab opens in Western - WHY? Need both in Unicode.

  • 7 réponses
  • 2 ont ce problème
  • 29 vues
  • Dernière réponse par ccfred

more options

My home page consists of two tabs; the 1st is Google.com & the 2nd is webmail.juno.com. When I open in IE8, both tabs have Unicode (UTF-8) encoding. When I open in Firefox, the 1st has Unicode (UTF-8) encoding BUT the 2nd tab ALWAYS has Western encoding WHY? I must always manually go to View/Text Encoding and change it every time. IE8 does this automatically - How can this be fixed in Firefox so both tabs always open in Unicode?

My home page consists of two tabs; the 1st is Google.com & the 2nd is webmail.juno.com. When I open in IE8, both tabs have Unicode (UTF-8) encoding. When I open in Firefox, the 1st has Unicode (UTF-8) encoding BUT the 2nd tab ALWAYS has Western encoding WHY? I must always manually go to View/Text Encoding and change it every time. IE8 does this automatically - How can this be fixed in Firefox so both tabs always open in Unicode?

Solution choisie

The following extension (which I haven't tried because I haven't noticed any need for it) was updated more recently, so it might be more compatible with changes in Firefox 40-41 regarding extension features:

Charset Switcher https://addons.mozilla.org/firefox/addon/charset-switcher/

Support thread: http://forums.mozillazine.org/viewtopic.php?t=797805

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (7)

more options

That is because the server sends this content type in the HTTP response headers: "text/html;charset=ISO-8859-1" See "Tools > Page Info > General" You can verify that in the Network Monitor (look for http://my.juno.com).

The page source shows a meta tag for Unicode, but Firefox only use the meta tag if the server doesn't send a content-type and ignores the meta tag otherwise

<meta charset="utf-8" />
more options

Thanks for your reply - I think you are telling me that even though IE-8 takes that same server data but somehow manages to display with Unicode coding, Firefox is not able to do the same.

I still find it hard to believe that Firefox is not advanced enough to allow the user to specify a specific text coding and always use it! IE-8 knows how but Firefox does not .

more options

As I wrote above: The server sends the Unicode (utf-8) content type via a meta tag in the main HTML file, but Firefox always ignores the content type that is send this way if the server is configured to send a (different) content type like in this case. Other browsers may always use the meta tag when present or do some sniffing, but Firefox doesn't do this for security reasons.

See also: https://developer.mozilla.org/en-US/docs/How_Mozilla_determines_MIME_Types

Modifié le par cor-el

more options

I understand your explanation, cor-el, that "Firefox always ignores the content type that is send this way" - - THAT IS EXACTLY THE PROBLEM! My issue is that FIREFOX SHOULD NOT ignore the content type - Internet Explorer does not ignore the content type and I submit that Firefox handles it improperly.

Obviously, Firefox does not care about this issue, so until they resolve it, I will continue to change Text Encoding each time I sign on.

more options
more options

Solution choisie

The following extension (which I haven't tried because I haven't noticed any need for it) was updated more recently, so it might be more compatible with changes in Firefox 40-41 regarding extension features:

Charset Switcher https://addons.mozilla.org/firefox/addon/charset-switcher/

Support thread: http://forums.mozillazine.org/viewtopic.php?t=797805

more options

I installed & tried "Content Preferences" - - It did not work.

After that, the most recent post arrived re: "Charset Switcher" I installed it and Hooray! IT WORKS and remembers the character set needed.

Thanks to jscher2000

Modifié le par ccfred