In the past, since I haven't found a specific method or function to convert the characters into their entity numbers, I have been manually replacing them. I have had to double encode these character entities - as an example:
In order to have a ? appear as its entity number ?
I have had to encode it as &#63; in the stylesheet.
I know there has to be a better and easier way of doing this. Could someone please offer some assistance?