pear/XML_Feed_Parser — comment on commit 33f0570abdc361752f806e568ff51ba65ca0f46d
File: XML/Feed/Parser/Type.php line 343
By CloCkWeRX:

I thought about it further.

If we've got "(special char) {", we want to translate it to "(special char) chr(123)" then "ǈ {" ... *before* doing any other encoding stuff.