Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.