I’m confused as for the difference between the terms “escaping” and “encoding” in phrases like:
Xml Encoding
Xml Escaping
Encoded Html
Escaped Url
…
Can anyone explain it to me?
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.
Encoding describes how the file’s characters are physically written in binary (as in Unicode or ANSI).
Escaping refers to the process of replacing special characters (such as
<and>) with their XML entity equivalent (such as<and>). For URLs, escaping refers to replacing characters with strings starting with%, such as%20for a single whitespace.Escaping differs by language, but encodings are usually widely-accepted standards. Sometimes the terms are used ambiguously (particularly with encoding used to mean escaping), but they are well defined and distinct.