Character Encoding, simply put, is the code a computer or website uses to determine how text, or characters with more than one byte are translated for the viewer. Have you ever visited a Japanese or Korean website and noticed how anything not written in English letters look like small boxes? That happens because your computer is not set up for Asian encoding. Unfortunately for Firefox 3.0.3 browser users, something similar happens between two types of "English" output when pages are coded incorrectly.
Two main types of encoding are commonly used: Western (ISO-8859-1) and Unicode (UTF-8). When a healthy Firefox setup looks at well-coded websites, it can switch effortlessly between sites with different types of character encoding. The problem lies when a website has conflicting code, such as when a website editor wants to code one way, and the coder wants the output to be a different character set.
For instance, when the header is coded in Western (ISO-8859-1) and someone adds the following HTML meta tag:
meta http-equiv="Content-Type" content="text/html; charset=utf-8"the Western encoding will trump the meta tag, and that's why only the header will look like ÉÅÐØÆÁÔÝ instead of something readable, but the rest of the website reads correctly.
Websites coded in PHP run a higher risk of malfunctioning when an extra encoding code is present, and anything coded in Unicode will present with strange character to output ratios. For example, the word "encoding" has 8 letters, but confused PHP using the wrong encoding will see a longer string of letters - another reason the output will look squished going from Western to Unicode on PHP websites.
The easiest way for the average person to fix this problem is to upgrade to the latest version of Firefox, which is version 3.0.5 at the time of publishing. If for whatever reason you don't want to, or can't upgrade, you will have to mess around with the encoding options every time you run into a site with gibberish.
To set the character encoding, open a Firefox browser and select View/Character Encoding and switch back and forth between Western (ISO-8859-1) and Unicode (UTF-8). It will change automatically, meaning you won't have to refresh the page or restart the browser.
For web developers running into a problem with a website, a quick way to determine your setup is to open your website in a Firefox browser, right click and select "View Page Info". There you will see if you have a conflict on websites that contain both, Content-Type: text/html;charset=UTF-8 and then the meta tag:
meta http-equiv="Content-Type" content="text/html; charset=utf-8"or some variation of both. On the Page Info pop-up, the main encoding will be at the top, and the secondary encoding code will be seen in the white meta tags section. If they are different, you should delete the meta tag.
For whatever reason, the latest version of Firefox, and the earlier 2.0 versions don't have issues with dodgy encoding. Still, many people frequently run into this problem and are unable to find a solution online. Hopefully this guide will help eliminate this error once and for all.
Published by Alicia White
Alicia is a former air traffic controller who lived in Japan for several years. She's currently a freelance writer in California, and a full-time student majoring in digital media/graphic design. View profile
Common Irish Symbols and Their MeaningsA defining guide of representative symbols of Ireland.- Does Your Dog Have Ear Problems? There are many possible ear problems that your dog may have. This article covers the most common treatment for dog ear problems.
Gadget Predicts Proper Light Exposure, Could Solve Sleep ProblemsScientists are developing a small, personal device to measure daily light intake and activity . Allowing for the user to regulate their light, stay in sync with Circadian Rhythm...- Common Aquarium Problems And How to fix Them: Cloudy Water, Worms, Algae, EtcIf you have a fish tank, you've probably encountered quite a few different problems at one given point or another.
- Tips for Aquarium Owners: Problems Caused by Your Filter SystemMany different problems can occur because people don't know a lot about filter system.
- Mozilla Firefox or Internet Explorer: The Eternal Question Answered
- Tips to Help Actors Create a Character Instantly at an Casting Audition
- Common Symbols of Easter and Their Meanings
- Guide About Firefox Browser
- 5 Signs to Tell If Your Child Has Vision Problems
- Railroad Key to Solving Transportation Problems
- Can Video Games Cause Mental Problems?





6 Comments
Post a CommentFF 3.6.10 still has this problem.
Correction: When changing to UTF-8 the page must be refreshed to display it properly.
If you view lots of pages it can drive you mad keep going view - character encoding - UTF-8.
Internet explorer never has this problem, and it's about time FF fixed it.
As Larchen said, in the same place i unchecked the option that allows pages to choose their own fonts and all seems fine right now.
yeah... its FF 3.6.7 and this is still not fixed
Been having problems with this STILL... in FF 3.6.3
I fixed a problem with some wrong characters in Firefox by going to (using non-english FF = guessing the menu names):
Tools - Options - Content - Middlepart "Fonts and Colours" click advanced - Fonts for:Westeuropean languages Changed Fixed width to System. You should also check that you don´t have some strange font set in any of the three settings above Fixed Width
I still see this bad behavior on some pages even in FF 3.0.5