Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Appearance of HTML files

  • 2 replies
  • 0 have this problem
  • 3 views
  • Last reply by cor-el

more options

Have multiple websites written in HTML which have always functioned well. EX: uscourt.com; medical-malpractice.com Now when opened with Firefox (not with other browsers), multiple aaaaxxx appear in front of many lines in text. Cannot get rid of such. Screenshot attached. Please advise. Thank you. Judge Rein JudgeRein@uscourt.com

Have multiple websites written in HTML which have always functioned well. EX: uscourt.com; medical-malpractice.com Now when opened with Firefox (not with other browsers), multiple aaaaxxx appear in front of many lines in text. Cannot get rid of such. Screenshot attached. Please advise. Thank you. Judge Rein JudgeRein@uscourt.com
Attached screenshots

All Replies (2)

more options

That is a complicated problem with non-breakable spaces (  U+00A0). If I check "Tools -> Page Info -> General" then it shows the encoding as IBM866 and in this encoding 0xA0 is a Cyrillic 'а' (0x0430). I'm not sure what makes Firefox think that the page is IBM866 encoding.

Firefox 68 uses windows-1252 and in this encoding 0xA0 is NBSP.

What code do you use on those pages ?

more options

The web console shows this message:

The character encoding of the document was not declared, and the encoding was guessable from content only late. This caused the document to be reloaded. The character encoding needs to be declared in the Content-Type HTTP header, using a meta tag, or using a byte order mark.

So you need to make sure to specify an encoding (content-type: text/html; charset=windows-1252).