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

188 views

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

In: 77

9 Answers

Anonymous 0 Comments

It’s encoding. It represents characters, which could be volatile, as benign strings.

A good example of this is < and > characters. Left as they are could easily break an HTML web page or XML document. Encoded, they are harmless.

When *we* see them, it’s because decoding failed or the page didn’t load correctly.

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