Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

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

Докладніше

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

Firefox on 2 independant laptops, not reading website source code correctly, when all correct on Chrome and IE.

  • 2 відповіді
  • 1 має цю проблему
  • 6 переглядів
  • Остання відповідь від Angus Brazenall

more options

Rebuilt my website in Serif WebPlus X6.
Using Google Chrome or Internet Explorer the site is displayed correctly as is the source code.
In Firefox 18.0.1 Code is being read wrongly. Cleared Cache and fault still there. Checked in Wifes laptop – still the same fault on her Firefox and okay on Chrome and IE.

Code should read - span class="Body-C-C9">“Why won’t the doctors listen”?
</span></p>    
But firefox is showing -      span class="Body-C-C9">“Why won’t the doctors listen”?</span></p>

There are further similar faults throughout the website.
Why is Firefox not reading the code correctly?
Please help.

Rebuilt my website in Serif WebPlus X6.<br /> Using Google Chrome or Internet Explorer the site is displayed correctly as is the source code.<br /> In Firefox 18.0.1 Code is being read wrongly. Cleared Cache and fault still there. Checked in Wifes laptop – still the same fault on her Firefox and okay on Chrome and IE.<br /> Code should read - span class="Body-C-C9">“Why won’t the doctors listen”?<pre><nowiki></span></p> But firefox is showing - span class="Body-C-C9">“Why won’t the doctors listen”?</span></p></nowiki></pre> There are further similar faults throughout the website.<br /> Why is Firefox not reading the code correctly?<br /> Please help.

Змінено cor-el

Обране рішення

That is an encoding issue.
It looks that the page is in UTF-8 Unicode and the server sends this page as a Western or Windows encoding.
So you see the Unicode characters as the individual bytes that they consist of.

You can inspect this in Tools > Page Info > General and you can also use the Web Console (Web Developer > Web Console;Ctrl+Shift+K) to check the response header.
If the server sends a content type via the HTTP response headers then Firefox doesn't honor a meta tag in the file or otherwise switch the encoding.

Читати цю відповідь у контексті 👍 1

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

more options

Вибране рішення

That is an encoding issue.
It looks that the page is in UTF-8 Unicode and the server sends this page as a Western or Windows encoding.
So you see the Unicode characters as the individual bytes that they consist of.

You can inspect this in Tools > Page Info > General and you can also use the Web Console (Web Developer > Web Console;Ctrl+Shift+K) to check the response header.
If the server sends a content type via the HTTP response headers then Firefox doesn't honor a meta tag in the file or otherwise switch the encoding.

more options

Thank your for your help. Initially I was a little unsure what the reply meant, but having contacted Serif WebPlus - my developer programme, they were most helpful in correcting the code within my website to solve the problem.