Main Page

encyclopedia.codeboy.net

 

ISO 8859-1

ISO 8859-1, more formally cited as ISO/IEC 8859-1 or less formally as Latin-1, is part 1 of ISO/IEC 8859, a standard character encoding defined by ISO. It encodes what it refers to as Latin alphabet no. 1, consisting of 191 characters from the Latin script, each encoded as a single 8-bit code value. These code values can be used in almost any data interchange system to communicate in the following European languages: Albanian, Basque, Catalan, Danish, Dutch, English, Faroese, Finnish, German, Icelandic, Irish, Italian, Norwegian, Portuguese, Rhaeto-Romanic, Scottish, Spanish, Swedish. Other languages covered include Afrikaans and Swahili. Thus, this character encoding is used throughout the American continent, Western Europe, Australia, and much of Africa.

Table of contents
1 ISO/IEC 8859-1
2 ISO 8859-1 vs ISO-8859-1
3 Windows-1252
4 MacRoman
5 External links

ISO/IEC 8859-1

ISO/IEC 8859-1 suffers from a number of deficiencies, including the omission of a few French and Finnish letters and the lack of a Euro symbol. For this reason, ISO/IEC 8859-15 has been developed as an update of ISO/IEC 8859-1 to add the required additional characters. (This required however the removal of some less used characters from ISO/IEC 8859-1, including fraction symbols and letter-free diacritics: ¤, ¦, ¨, ´, ¸, ¼, ½, and ¾.) Since all 191 characters encoded by ISO/IEC 8859-1 are graphic and compatible with most web browsers, they can be shown as glyphs in the following table. The row and column headings indicate the hexadecimal digit combinations to produce the 8-bit code value; e.g., "L" is hex 4C, or binary 01001100. \n
ISO/IEC 8859-1\n
x0x1x2x3x4x5x6x7x8x9xAxBxCxDxExF
0xunused\n
1x\n
2xSPexclamation markdouble quote#dollar sign%&'()*+comma -full stop/\n
3x 0 123456789colon semicolon<=>question mark\n
4x@ABCDEFGHIJKLMNO\n
5xPQRSTUVWXYZ[\\]^_\n
6x`abcdefghijklmno\n
7xpqrstuvwxyz{|}~\n
8xunused\n
9x
Ax\nNBSP\n¡\n¢\n£\n¤\n¥\n¦\n§\n¨\n©\nª\n«\n¬\n­\n®\n¯
Bx\n°\n±\n²\n³\n´\nµ\n\n·\n¸\n¹\nº\n»\n¼\n½\n¾\n¿
CxÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ\n
DxÐÑÒÓÔÕÖרÙÚÛÜÝÞß\n
Exàáâãäåæçèéêëìíîï\n
Fxðñòóôõö÷øùúûüýþÿ\n
In the table above, 20 is the regular SPACE character, and A0 is the NO-BREAK SPACE. AD is a SOFT HYPHEN, which should not appear at all in compliant web browsers. Code values 00-1F, 7F, and 80-9F are not assigned to characters by ISO/IEC 8859-1.

ISO 8859-1 vs ISO-8859-1

\nThe
IANA has approved ISO-8859-1 (note the extra hyphen), a superset of ISO/IEC 8859-1, for use on the Internet. This character map, or character set or code page, supplements the assignments made by ISO/IEC 8859-1, mapping control characters to code values 00-1F, 7F, and 80-9F. It thus provides for 256 characters via every possible 8-bit value. The IANA allows all of the following aliases for ISO-8859-1 to be used case-insensitively:\n* ISO_8859-1:1987\n* ISO_8859-1\n* ISO-8859-1\n* iso-ir-100\n* csISOLatin1\n* latin1\n* l1\n* IBM819\n* CP819 The name Latin-1 is an informal alias unrecognized by ISO or the IANA, but is perhaps meaningful in some computer software. The following table shows ISO-8859-1, with the 3-letter abbreviations for the control characters shown in underlined text. \n
ISO-8859-1
x0x1x2x3x4x5x6x7x8x9xAxBxCxDxExF
0xNULSOHSTXETXEOTENQACKBELBSTABLFVTFFCRSOSI\n
1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS\n
2xSP!"#$%&'()*+,-./\n
3x0123456789:;<=>?\n
4x@ABCDEFGHIJKLMNO\n
5xPQRSTUVWXYZ[\\]^_\n
6x`abcdefghijklmno\n
7xpqrstuvwxyz{|}~DEL\n
8xPADHOPBPHNBHINDNELSSAESAHTSHTJVTSPLDPLURISS2SS3\n
9xDCSPU1PU2STSCCHMWSPAEPASOSSGCISCICSISTOSCPMAPC\n
AxNBSP¡¢£¤¥¦§¨©ª«¬­®¯\n
Bx°±²³´µ·¸¹º»¼½¾¿\n
CxÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ\n
DxÐÑÒÓÔÕÖרÙÚÛÜÝÞß\n
Exàáâãäåæçèéêëìíîï\n
Fxðñòóôõö÷øùúûüýþÿ\n
In the table above, 20 is the regular SPACE character, and A0 is the NO-BREAK SPACE. AD is a SOFT HYPHEN, which may not appear at all in some web browsers. \nThere are additional parts to the ISO/IEC 8859 standard that have corresponding IANA-approved character sets, e.g. ISO/IEC 8859-10 (Latin alphabet no. 6) is very similar to character set ISO-8859-10. Each of the ISO/IEC 8859-x parts encodes characters in the same way: they cover the ASCII range (hex 20-7E) plus 96 additional characters in the A0-FF range, for a total of 191 characters. The ISO-8859-x sets each add the ISO 646 C0 "control" characters from 00-1F, a control character at 7F, and control characters in the 80-9F range, thus encompassing a total of 256 characters. ISO-8859-1 is unique among these sets in that that its coded characters are equivalent to the first 256 code points of Unicode. ISO-8859-1 is the standard encoding used by the X Window System on most Unix machines.

Windows-1252

\nThe legacy components of
Microsoft Windows use, by default, an encoding that is a superset of ISO/IEC 8859-1, but differs from ISO-8859-1, using displayable characters rather than control characters in the 80-9F range. Windows calls it ANSI generically, but depending on where the operating system was sold, the character set will have another name, e.g. CP1252 in the US and Western European markets, with the IANA-approved name Windows-1252. The following table shows Windows-1252, with changes from ISO-8859-1 highlighted: \n\n
Windows-1252 (CP1252)
x0x1x2x3x4x5x6x7x8x9xAxBxCxDxExF
0xNULSOHSTXETXEOTENQACKBELBSTABLFVTFFCRSOSI\n
1xDLEDC1DC2DC3DC4NAKSYNETBCANEMSUBESCFSGSRSUS\n
2xSP!"#$%&'()*+,-./\n
3x0123456789:;<=>?\n
4x@ABCDEFGHIJKLMNO\n
5xPQRSTUVWXYZ[\\]^_\n
6x`abcdefghijklmno\n
7xpqrstuvwxyz{|}~DEL
8x&euro &sbquo&fnof&bdquo&hellipˆŠ&le&OElig Ž 
9x\n &lsquo&rsquo&ldquo&rdquo&bull&ndash&mdash&tilde&tradeš&ge&oelig ž&Yuml
Ax\nNBSP\n¡\n¢\n£\n¤\n¥\n¦\n§\n¨\n©\nª\n«\n¬\n­\n®\n¯
Bx\n°\n±\n²\n³\n´\nµ\n\n·\n¸\n¹\nº\n»\n¼\n½\n¾\n¿
CxÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ\n
DxÐÑÒÓÔÕÖרÙÚÛÜÝÞß\n
Exàáâãäåæçèéêëìíîï\n
Fxðñòóôõö÷øùúûüýþÿ\n
In the table above, 20 is the regular SPACE character, and A0 is the NO-BREAK SPACE. AD is a SOFT HYPHEN, which should not appear at all in compliant web browsers. 81, 8D, 8F, 90, and 9D are unused. The Euro character at position 80 was not present in earlier versions of this code page.

MacRoman

Older
Apple Macintosh computers use an encoding, MacRoman, that differs from ISO 8859-1 in the first 32 and beyond the first 127 characters, but does include all characters present in ISO 8859-1 at other locations, with the exception of the soft hyphen. In contrast MacRoman includes multiple characters which are not in ISO 8859-1. The Euro glyph replaced the previous generic currency sign. The following table shows MacRoman, with the differences from ISO-8859-1 highlighted: \n\n\n\n\n\n
MacRoman
x0x1x2x3x4x5x6x7x8x9xAxBxCxDxExF
0x         TABLF  CR  
1x                
2xSP!"#$%&'()*+,-./
3x0123456789:;<=>?\n
4x@ABCDEFGHIJKLMNO\n
5xPQRSTUVWXYZ[\\]^_\n
6x`abcdefghijklmno
7xpqrstuvwxyz{|}~ 
8xÄÅÇÉÑÖÜáàâäãåçéè
9x\nêëíìîïñóòôöõúùûü
Ax&dagger°¢£§&bullß®©&trade´¨&neÆØ
Bx&infin±&le&ge¥µ&part&sum&prod&pi&intªº&Omegaæø
Cx¿¡¬&radic&fnof&asymp«»&hellipNBSPÀÃÕ&OElig&oelig
Dx&ndash&mdash&ldquo&rdquo&lsquo&rsquo÷&lozÿ&Yuml&frasl&euro&lsaquo&rsaquo
Ex&Dagger·&sbquo&bdquo&permilÂÊÁËÈÍÎÏÌÓÔ
FxÒÚÛÙı&circ&tilde¯˘˙˚¸˝˛ˇ\n
In the table above, 20 is the regular SPACE character, and CA is the NO-BREAK SPACE. F0 is a glyph depicting the . This character does not exist in Unicode and therefore is remapped in the Private Use Area. If your user agent displays anything there it may or may not be the Apple Computer logo. 00–08, 0B and 0C, 0E–1F and 7F are unused. The distinction between ISO 8859-1, ISO-8859-1, Windows-1252, and MacRoman is a common source of confusion among computer programmers.

External links

\n*
ISO/IEC 8859-1:1998 final draft of the standard (PDF)\n*Windows Codepages\n*Differences between ANSI, ISO-8859-1 and MacRoman Character Sets\n*The Letter Database\n*ASCII - ISO 8859-1 Table with HTML Entity Names Category:ISO standards\nCategory:Character sets \n\n\n

"There are some experiences in life which should not be demanded twice from any man, and one of them is listening to the Brahms Requiem." - George Bernard Shaw (1856-1950)