Special Characters Sets

. Saturday, May 31, 2008
  • Agregar a Technorati
  • Agregar a Del.icio.us
  • Agregar a DiggIt!
  • Agregar a Yahoo!
  • Agregar a Google
  • Agregar a Meneame
  • Agregar a Furl
  • Agregar a Reddit
  • Agregar a Magnolia
  • Agregar a Blinklist
  • Agregar a Blogmarks

Every document you create should have a character set specified for it. Your charset, for short, is the range of letters, numbers and other symbols that your document will be able to use without having to encode the character with an entity.

Most pages that are writen in any form of English will use a character set called iso-8859-1. To make sure all browsers know this is the character set you’re using, it is recommended that you put this line into all of your documents’ head section:
<meta http-equiv="Content-Type" content="text/html;

charset=ISO-8859-1">

This means you’ll be able to use any character that’s in iso-8859-1 by simply typing it into the document. However, if you want to use a character not in the charset, like a Greek Theta (Θ) for instance, you’ll have to encode it as an entity by typing its corresponding code Θ.

0 comments: