in reply to zapping gremlins

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