I was looking a source code of a particular page of my project and noticed that FF transforms special characters such as “á” to á.
Which encodification is that?
Thanks!!
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.
I suspect it is the other way round; Firefox and Chrome take
áin the HTML source code and render it as the character á (“Latin small a with acute”).The reason for allowing these in HTML is that the HTML might be supplied in an encoding which doesn’t support the character. Any Unicode character is allowed, but it may not get rendered correctly if your browser doesn’t have that character in any of its fonts.
As it says in the W3C HTML spec, there are two ways of encoding arbitrary Unicode characters:
&#D;: whereDis the decimal value of the Unicode character (e.g.á)&#xH;: whereHis the (case-insensitive) hexadecimal value of the Unicode character, e.g.1in your case