Saltar al contenido

ISO-8859-1

ISO-8859-1 (llamado así por la Organización Internacional de Normalización) es una codificación de caracteres heredada. UTF-8 es el conjunto de caracteres predeterminado en la mayoría de los navegadores.

Usa `<meta charset="UTF-8">` para declarar la codificación de caracteres de tu documento HTML. Colócalo dentro de la sección <head> de tu archivo HTML:

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

Caracteres reservados en HTML

Algunos caracteres están reservados en HTML porque se usan para formar el lenguaje HTML. Por ejemplo, no puedes usar los signos mayor que o menor que en tu texto, ya que el navegador intentará interpretarlos como HTML. Usa el nombre de entidad o el número de entidad cuando quieras mostrar cualquiera de los caracteres reservados.

Consulta la lista de caracteres reservados en la tabla de abajo:

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

Símbolos 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

Caracteres 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.

Los navegadores modernos detectan automáticamente o recurren a UTF-8 cuando no se especifica ninguna codificación. Las codificaciones heredadas como ISO-8859-1 se admiten principalmente por compatibilidad con páginas web antiguas. Para proyectos nuevos, usa siempre UTF-8 para garantizar compatibilidad total con Unicode y coherencia entre plataformas.

Consulta también HTML ASCII y HTML Entities.

Practice

¿Qué representa la codificación ISO-8859-1 en HTML?

¿Te resulta útil?

Vista previa dual-run — compárala con las rutas Symfony en producción.