[Home]HTML Encoding

Contents | (Visit Preferences to set your user name.) | Related To HTML Encoding | RecentChanges | Preferences | Index | Login | Logout

Featured: Featured Stories | Picture Gallery

Vital Questions For Husbands | Articles About Pocket Informant 5
Google
Chat11.com Web Bible11.com MyBibleCenter.com
Cover of ISBN 0834003465 Cover of ISBN 0785201688
Cover of ISBN 081297476X The Bush Survival Guide - 250 Ways to Make It Through The NExt Four Years Without Misunderestimating the Dangers Ahead, and Other Subliminable Stategeries
Links:

HTML encoding

Subjects > Computers > Internet > Web
Another Garnet Quest! Garnet solves difficult problems for you.... See the bottom of this page for how to let Garnet know if this page helped you.

For a browser to know what encoding an HTML file is written in, it must be told. If a browser isn't told, then it may guess wrong and render many characters wrong. The encoding can be communicated to the browser in two ways for HTML files:

   <meta  content="text/html;  charset=UTF-8"  http-equiv="Content-Type">

   Content-type: text/html; charset=UTF-8

It is best if both of these methods are used, and of course they must both agree with the actual file encoding. Often you don't have control of the HTTP header, so using the META element is the only option.

For XHTML output, there is a third avenue to convey the encoding. Because the output is XML, it should have an XML declaration, and the declaration should also contain the encoding:

  <?xml version="1.0"  encoding="UTF-8" ?>

If you have access to Lynx web browser, you can inspect what the server is sending in the HTTP headers with this command:

  lynx -head http://testwiki.find11.com/Bulgarian_-_Other

See also How To Use Chat11 Wiki To Keep Track Of Solutions To Problems


Did This Page Help You Solve A Difficult Problem?

If so, I'd like to hear from you. I spent about 3 or 4 hours tracking down a solution to this problem, so I hope this page helped you solve the problem a lot quicker than that. If you'd like to donate a few bucks via paypal, that would be nice too! For any size donation, I'll send you an Internet Guide on the topic of your choice to include on your website.

You can reach me at http://www.garnetchaney.com/contact.shtml!

- Garnet

Check out [Facts About Trees]

Search for books about:

Computers, Garnet, Internet, Web

Search The Net:
Garnet
Computers
Internet
Web

Contents | (Visit Preferences to set your user name.) | Related To HTML Encoding | RecentChanges | Preferences | Index | Login | Logout
Edit this www.chat11.com page | View other versions
Last edited March 21, 2008 7:30 pm (diff)
Search:
Sign up for PayPal and start accepting credit card payments
instantly.
Bobsgear - Get A Free Enterrpise Wiki Space!
Review: The Bobsgear Project was started to develop a variety of Confluence plugins. This installation of the Confluence Enterprise wiki includes flexible attachments, many Confluence plugins, personal blogs, interesting articles, and more. Bobsgear already has spaces related to politics, art and photography wiki, technical issues wiki, ediscovery wiki, health, Christian theology and Sabbath School wiki, the bible, book reviews, and quotations. Bobsgear allows free signup, and invites anyone to create a free hosted Confluence wiki space.


NEW USERS CLICK HERE! for a quick introduction to Wiki.

 

 Interested in Popular California Topics?
311 total hits since 10/2007
Recently accessed pages: Bleeding In The Digestive Tract Causes Casserole Dish Chicken Recipe Books Drum Related Books How Eating Problems Contribute To The Corrupt State Of The World How To Hit Longer Drives In Golf II. The Other Apostles - The Wider Circle Love Quotation Military Stamps New Pc Missing Recovery Disks Next Page PPC-6700 First Test Of EVDO Wireless Sprintpcs Internet Connectivity Remove Wma Copy Protection Science Experiments Searching Engine Lasoo The Very First Diet Tsunami Bomb

Elapsed:0