HTML/XHTML Character Encodings
A character encoding is a method of converting bytes into characters. To validate or display an HTML document, a program must choose a character encoding.
The most common character set or character encoding in use on computers is ASCII The American Standard Code for Information Interchange, and this is probably the most widely used character set for encoding text electronically. You can expect all computers browsing theWeb to understand ASCII.
ASCII encoding supports only the upper- and lowercase Latin alphabet, the numbers 0-9, and some extra characters: a total of 128 characters in all. You can have a look at complete set of Printable ASCII Characters
However, many languages use either accented Latin characters or completely different alphabets. ASCII does not address these characters; therefore you need to learn about character encodings if you want to use any non-ASCII characters.
The International Standards Organization created a range of character sets to deal with different national
characters. For documents in English and most other Western European languages, the widely supported encoding ISO-8859-1 is used.
Here is the list of Character Set being used around the world along with their Description.
||Latin alphabet part 1
Covering North America,Western Europe, Latin America, theCaribbean, Canada, Africa
||Latin alphabet part 2
Covering Eastern Europe
||Latin alphabet part 3
Covering SE Europe, Esperanto, miscellaneous others
||Latin alphabet part 4
Covering Scandinavia/Baltics (and others not in ISO-8859-1)
||Latin/Cyrillic alphabet part 5
||Latin/Arabic alphabet part 6
||Latin/Greek alphabet part 7
||Latin/Hebrew alphabet part 8
||Latin 5 alphabet part 9
Same as ISO-8859-1 except Turkish characters replace Icelandic ones
||Latin 6 Latin 6 Lappish, Nordic, and Eskimo
||The same as ISO-8859-1 but with more characters added
||Latin/Japanese alphabet part 1
||Latin/Japanese alphabet part 2
||Latin/Korean alphabet part 1
The Unicode Consortium was then set up to devise a way to show all characters of different languages, rather than have these different incompatible character codes for different languages
Therefore, if you want to create documents that use characters from multiple character sets, you will be able to do so using the single Unicode character encodings.
Unicode therefore specifies encodings that can deal with a string in special ways so as to make enough space for the huge character set it encompasses. These are known as UTF-8, UTF-16, and UTF-32.
||A Unicode Translation Format that comes in 8-bit units. That is, it comes in bytes. A character in UTF8 can be from 1 to 4 bytes long, making UTF8 variable width.
||A Unicode Translation Format that comes in 16-bit units. That is, it comes in shorts. It can be 1 or 2 shorts long, making UTF16 variable width.
||A Unicode Translation Format that comes in 32-bit units. That is, it comes in longs. It is a fixed-width format and is always 1 "long" in length.
The first 256 characters of Unicode character sets correspond to the 256 characters of ISO-8859-1.
By default, HTML 4 processors should support UTF-8, and XML processors are supposed to support UTF-8 and UTF-16; therefore all XHTML-compliant processors should also support UTF-16.