in reply to Re: Unescaped entities in XMLin thread Regex to encode entities in XML
I need to turn ¶ into ß not %B6 as uri_escape does - and really just want to extend that regex, or use a series of them, to encode all those nasty characters.