Why does FF not properly display .htm web pages created in Word, and how can I fix this?
I create my web page using Word, and recently upgraded to 14.0.1. The updated web page displays fine in Mac Safari, or Chrome, but not in FF; rather is displays as junk characters. I realize this is likely due to lines added to the .html code by MS Office, but I think FF should be able to parse it if Safari and Chrome can. Thank you for any help.
Valgt løsning
That is a page saved as Unicode UTF-16LE, but send by the server as UTF-8.
View > Character Encoding > More Encodings > Unicode > UTF-16LE
You either need to save the page as Unicode UTF-8 or configure the server to send the page(s) as UTF-16. The first is probably easier to do.
Læs dette svar i sammenhæng 👍 2Alle svar (5)
I am just guessing but maybe the web page has been designed specifically to use MS office or IE none standard features. Run your code through the W3C validator http://validator.w3.org/
P.S I must remember to read the System Details provided before posting comments ;-)
Ændret af John99 den
The W3C validator won't help him, the code is so bad the validator won't checl it.
Opera doesn't display that page either.
Valgt løsning
That is a page saved as Unicode UTF-16LE, but send by the server as UTF-8.
View > Character Encoding > More Encodings > Unicode > UTF-16LE
You either need to save the page as Unicode UTF-8 or configure the server to send the page(s) as UTF-16. The first is probably easier to do.
Ændret af cor-el den
I saved with UTF-8 encoding and that fixed it. Thank you.
You're welcome