/
Unescaped special characters can break applications

Unescaped special characters can break applications

This is really common quality issue. A developer writes some code which works with plain old vanilla data.

Then they hit a character that is a special character in the medium they are using. This data needs to be escaped to make it work.

  • See HTML entities or XML for example - < > &

  • File special characters like / \ : , spaces and unicode

  • JSON special characters like [, ] , { }, “ ,'

Also look at the simple templating function for HTML which is safe by design.

Related content

Escape sequences
Escape sequences
More like this
HTML Entities for special characters
HTML Entities for special characters
More like this
Supported File Encodings
Supported File Encodings
More like this
URL Encoding
More like this
Javascript Strings
Javascript Strings
More like this
JSON - JavaScript Object Notation
JSON - JavaScript Object Notation
More like this