What is ISO-8859-1 string? [duplicate]

1

I need to use utf8_decode and utf8_encode from PHP, so 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.

    
asked by anonymous 24.08.2017 / 18:31

2 answers

2

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

  

The first 128 characters of ISO-8859-1 are the original ASCII set (numbers 0-9, uppercase and lowercase of the English alphabet and some special characters).

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

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

    
24.08.2017 / 18:37
1

(informally, Latin1) is a character encoding of the Latin alphabet. Since 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 this is a Latin character encoding, it accepts accents and some special characters.

    
24.08.2017 / 18:35