I convert some string in UTF8, and I watch it on browser with UTF-8 or ISO-8859-1. The render is the same. Have they some equals entities?
For example ³ (which is ³) is displayed the same on both codify.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
HTML character references like
³are instructions for the browser to display certain characters. The browser displays them using the character set currently in use.If you have a HTML document that contains
the browser displays a
³character as instructed by the character reference.³itself isn’t UTF8 or ISO-8859-1;&,s,u,p,3and;are all just normal characters present in both encodings. The entire point of HTML character references is that you can use them without caring what the document’s actual encoding is.If you don’t use character references but the actual character instead:
Now the character set becomes important: if you save the file as UTF-8 and the browser tries to render it using ISO-8859-1, you’ll see a mangled character instead of
³, and vice versa.