http://qs321.pair.com?node_id=558878


in reply to zapping gremlins

No, the original post shows him changing characters to codes, which is what encode_entities does.