Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Encoding problem for a web page

  • 1 відповідь
  • 2 мають цю проблему
  • 16 переглядів
  • Остання відповідь від cor-el

more options

I'm browsing a web page: http://www-archive.mozilla.org/projects/intl/UniversalCharsetDetection.html. Some characters are displayed incorrectly. I noticed that the browser's encoding is UTF-8, however, this web page has set the charset as 'windows-1252'. I'm confused with this case, the web page explicitly sets the charset as 'windows-1252', but the browser still use 'UTF-8'.

I'm browsing a web page: http://www-archive.mozilla.org/projects/intl/UniversalCharsetDetection.html. Some characters are displayed incorrectly. I noticed that the browser's encoding is UTF-8, however, this web page has set the charset as 'windows-1252'. I'm confused with this case, the web page explicitly sets the charset as 'windows-1252', but the browser still use 'UTF-8'.

Усі відповіді (1)

more options

That is because the server sends it with content-type= text/html; charset=UTF-8 and that prevails.

Firefox only uses the content type as specified in the meta tag if the server doesn't send a content-type via the response headers.