Why do computers sometimes change special characters like “&” into “&” or “ ”

189 views

Why do computers sometimes change special characters like “&” into “&” or “ ”

In: 77

9 Answers

Anonymous 0 Comments

Various computer languages use characters like &, <, >, *, etc for special purposes. One of those languages is HTML which is used to make webpages. But what happens if you want to show one of those characters on the web page? The language is also designed with sequences called escape characters, which are an alternate way to tell the web page to display the & (or other) character normally instead of using it as code.

However if you display that document in something that isn’t designed to use those special codes it will show you the original text including the escape sequences like &amp;

You are viewing 1 out of 9 answers, click here to view all answers.