This is no direct answer to the question, but you may use UTF-8 instead, which allows you to save glyphs like ÷ or × directly. To use UTF-8 with PHP DOM on the other needs a little hack.
Also, if you are trying to display mathematical formulas (as A × B suggests) have a look at MathML.