搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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

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.

由 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.