What is string ISO-8859-1?

Asked

Viewed 3,664 times

1

I need to use utf8_decode and PHP utf8_encode, then I saw something about ISO-8859-1 string. What would that be?

I do not want to know how to use, at the moment, I just want to know the meaning of ISO-8859-1.

  • It is not duplicate no. I want to know what it is, not how to use.

  • 1

    That’s why it’s possible duplicate. You have read all the answer(s))?

  • 1

    First google link in Wikipédia has this

  • Uzumakiartanis, thank you! Leandro and Alexandre have already solved my doubt!

2 answers

3


ISO/IEC 8859-1 is the default character set of Majority of browsers.

The first 128 characters of ISO-8859-1 is the original ASCII set (numbers 0-9, upper and lower case letters of the English alphabet and some special characters).

Basically ISO 8859-1 is the decoding of Latin characters. See the table here.

For curiosity, the only difference between utf-8 and ISO 8859-1 is the encoding, that is, both have the same characters but with different encodings.

1

(informally, Latin1) is a character encoding of the Latin alphabet. As all 191 characters encoded by ISO 8859-1 are graphics (not control characters) and are compatible with most browsers. The following is a list of characters. Character list

As it is a Latin character encoding, it accepts accents and some special characters.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.