produce xml safe stuff, same as ENT_XML1 but works with php 5.3