X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Firefox can not open .HTML files

Posted

I am using the Firefox 14.0.1 . I can't not open any kind of .HTML file(written in notepad) in Firefox when in others browsers I can open these normally. When I am trying to open my HTML file to test them in Firefox, they couldn't be open rather than I am getting some unsorted of scripts like chines or something like this (I don't know clearly which kind of language) I don't understand what do? In advance thanks for your helping.

Chosen solution

A couple questions about your HTML file.

First, are you using any unusual fonts? "Outline" or "vector" fonts usually give the most reliable results across browsers. These include Arial, Times New Roman, and Courier New.

Second, do you get different results if you use File > Save As (in Notepad) and change the Encoding to ANSI or UTF-8? I believe those are the ones most commonly used for web pages. The Encoding drop-down is just to the left of the Save button.

Read this answer in context 1

Additional System Details

This happened

Every time Firefox opened

This started when...

Everytime, when I try to test my html code.

Installed Plug-ins

  • Shockwave Flash 11.3 r300
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 10.5.1 for Mozilla browsers
  • Nitro PDF Plug-in for Firefox and Chrome
  • GEPlugin
  • iTunes Detector Plug-in
  • 3.0.40818.0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1

More Information

㰡䑏䍔奐䔠䡔䵌㸍਼䡔䵌㸍਼䡅䅄㸍਼呉呌䔾㰯呉呌䔾ഊ㱳瑹汥⁴祰攽≴數琯捳猢㸍ਉउ⍢畴弱筨敩杨琺㌰灸㭷楤瑨㨱㠰灸㬠扡捫杲潵湤ⵣ潬潲㨣㠲〴〻ഊउ०潮琭晡浩汹㩁物慬Ⱐ䡥汶整楣愬⁳慮猭獥物昻⁦潮琭獩穥㨱㡰砻ഊउॣ潬潲㩲敤㭽ഊഊउण扵瑴潮ㄺ桯癥牻扡捫杲潵湤ⵣ潬潲㨣䍃䍃䍃㭽ഊउउऍ਼⽳瑹汥㸍਍਼⽈䕁䐾ഊ㱂佄夾ഊഊ㱆‍਼䙏前㸍਍਼䥎偕吠呙偅㴢呥硴∠偌䅃䕈佌䑅刽≅湴敲⁹潵爠晩牳琠湡浥∾ഊഊ㱐㸍਼䥎偕吠呙偅㴢卵扭楴∠噁䱕䔽≃潮瑡捴⁕猢㸍਍਼⽆佒䴾ഊ㰯䙏前㸍਍਼⽂佄夾ഊ㰯䡔䵌㸍਍

Question owner

Here is a Screenshot of my problem.

Modified by blue_bird

cor-el
  • Top 10 Contributor
  • Moderator
10748 solutions 96724 answers

Helpful Reply

It is possible that you saved the file in an UTF-16 encoding instead of UTF-8.

You can try to test that if you aren't sure.

  • Firefox > Web Developer > Character Encoding
  • View > Character Encoding
jscher2000
  • Top 10 Contributor
2357 solutions 20872 answers

Chosen Solution

A couple questions about your HTML file.

First, are you using any unusual fonts? "Outline" or "vector" fonts usually give the most reliable results across browsers. These include Arial, Times New Roman, and Courier New.

Second, do you get different results if you use File > Save As (in Notepad) and change the Encoding to ANSI or UTF-8? I believe those are the ones most commonly used for web pages. The Encoding drop-down is just to the left of the Save button.

Question owner

@cor-el, Thanks for your helpful tips!

Modified by blue_bird

Question owner

@jscher2000, really your tips solved my problem. I did not change the Encoding ANSI or UTF-8. Thanks a lot!