Aller au contenu

ISO-8859-1

ISO-8859-1 (nommé d’après l’Organisation internationale de normalisation) est un ancien codage de caractères. UTF-8 est l’ensemble de caractères par défaut dans la plupart des navigateurs.

Utilisez `<meta charset="UTF-8">` pour déclarer le codage de caractères de votre document HTML. Placez-le dans la section <head> de votre fichier HTML :

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <!-- Your content here -->
</body>
</html>

Caractères réservés en HTML

Certains caractères sont réservés en HTML parce qu’ils servent à constituer le langage HTML. Par exemple, vous ne pouvez pas utiliser les signes supérieur à ou inférieur à dans votre texte, car le navigateur essaiera de les interpréter comme du HTML. Utilisez le nom d’entité ou le numéro d’entité lorsque vous souhaitez afficher l’un des caractères réservés.

Voir la liste des caractères réservés dans le tableau ci-dessous :

CharacterEntity NumberEntity NameDescription
"""quotation mark
'''apostrophe
&&&ampersand
<<<less-than
>>>greater-than

Symboles ISO 8859-1

CharacterEntity NumberEntity NameDescription
  non-breaking space
¡¡¡inverted exclamation mark
¢¢¢cent
£££pound
¤¤¤currency
¥¥¥yen
¦¦¦broken vertical bar
§§§section
¨¨¨spacing diaeresis
©©©copyright
ªªªfeminine ordinal indicator
«««angle quotation mark (left)
¬¬¬negation
­­­soft hyphen
®®®registered trademark
¯¯¯spacing macron
°°°degree
±±±plus-or-minus
²²²superscript 2
³³³superscript 3
´´´spacing acute
µµµmicro
paragraph
···middle dot
¸¸¸spacing cedilla
¹¹¹superscript 1
ºººmasculine ordinal indicator
»»»angle quotation mark (right)
¼¼¼fraction 1/4
½½½fraction 1/2
¾¾¾fraction 3/4
¿¿¿inverted question mark
×××multiplication
÷÷÷division

Caractères ISO 8859-1

CharacterEntity NumberEntity NameDescription
ÀÀÀcapital a, grave accent
ÁÁÁcapital a, acute accent
ÂÂÂcapital a, circumflex accent
ÃÃÃcapital a, tilde
ÄÄÄcapital a, umlaut mark
ÅÅÅcapital a, ring
ÆÆÆcapital ae
ÇÇÇcapital c, cedilla
ÈÈÈcapital e, grave accent
ÉÉÉcapital e, acute accent
ÊÊÊcapital e, circumflex accent
ËËËcapital e, umlaut mark
ÌÌÌcapital i, grave accent
ÍÍÍcapital i, acute accent
ÎÎÎcapital i, circumflex accent
ÏÏÏcapital i, umlaut mark
ÐÐÐcapital eth, Icelandic
ÑÑÑcapital n, tilde
ÒÒÒcapital o, grave accent
ÓÓÓcapital o, acute accent
ÔÔÔcapital o, circumflex accent
ÕÕÕcapital o, tilde
ÖÖÖcapital o, umlaut mark
ØØØcapital o, slash
ÙÙÙcapital u, grave accent
ÚÚÚcapital u, acute accent
ÛÛÛcapital u, circumflex accent
ÜÜÜcapital u, umlaut mark
ÝÝÝcapital y, acute accent
ÞÞÞcapital THORN, Icelandic
ßßßsmall sharp s, German
àààsmall a, grave accent
ááásmall a, acute accent
âââsmall a, circumflex accent
ãããsmall a, tilde
äääsmall a, umlaut mark
åååsmall a, ring
æææsmall ae
çççsmall c, cedilla
èèèsmall e, grave accent
ééésmall e, acute accent
êêêsmall e, circumflex accent
ëëësmall e, umlaut mark
ìììsmall i, grave accent
ííísmall i, acute accent
îîîsmall i, circumflex accent
ïïïsmall i, umlaut mark
ðððsmall eth, Icelandic
ñññsmall n, tilde
òòòsmall o, grave accent
óóósmall o, acute accent
ôôôsmall o, circumflex accent
õõõsmall o, tilde
ööösmall o, umlaut mark
øøøsmall o, slash
ùùùsmall u, grave accent
úúúsmall u, acute accent
ûûûsmall u, circumflex accent
üüüsmall u, umlaut mark
ýýýsmall y, acute accent
þþþsmall thorn, Icelandic
ÿÿÿsmall y, umlaut mark

Variantes de ISO-8859-1

Character setDescriptionCovers
ISO-8859-1Latin 1North America, Western Europe, Latin America, the Caribbean, Canada, Africa.
ISO-8859-2Latin 2Eastern Europe.
ISO-8859-3Latin 3SE Europe, Esperanto, miscellaneous others.
ISO-8859-4Latin 4Scandinavia/Baltics (and others not in ISO-8859-1).
ISO-8859-5Latin/CyrillicThe languages that use a Cyrillic alphabet such as Bulgarian, Belarusian, Russian and Macedonian.
ISO-8859-6Latin/ArabicThe languages that use the Arabic alphabet.
ISO-8859-7Latin/GreekThe modern Greek language as well as mathematical symbols derived from the Greek.
ISO-8859-8Latin/HebrewThe languages that use the Hebrew alphabet.
ISO-8859-9Latin/TurkishThe Turkish language. Same as ISO-8859-1 except Turkish characters replace Icelandic ones.
ISO-8859-10Latin/NordicThe Nordic languages.
ISO-8859-15Latin 9 (Latin 0)Similar to ISO-8859-1 but replaces some less common symbols with the euro sign and some other missing characters.

Les navigateurs modernes détectent automatiquement UTF-8 ou y reviennent lorsqu’aucun encodage n’est spécifié. Les codages hérités comme ISO-8859-1 sont principalement pris en charge pour assurer la compatibilité ascendante avec les anciennes pages web. Pour les nouveaux projets, utilisez toujours UTF-8 afin de garantir une prise en charge complète d’Unicode et une cohérence multiplateforme.

Voir aussi HTML ASCII et HTML Entities.

Practice

What does the ISO-8859-1 coding in HTML represent?

Trouvez-vous cela utile?

Aperçu dual-run — comparez avec les routes Symfony en production.