Dealing With Special Characters In A Config File
Some special characters, such as &, <, >, ", ', etc., cannot be directly utilized as values in configuration or HTML files. We have a particular entity name for them, which must be put in instead of these characters in a configuration file.
For e.g. if in a config file like oauth2.config if the value in the ClientSecretId is given as ab&!@mc$#k292 is replaced by an entity name as ab&!@mc$#k292.
Some of the entity names for special characters are given below.
For more information refer to the below link
https://www.html.am/reference/html-special-characters.cfm