in reply to XML::Twig handlers weirdness?

So:

This looks extremely weird. I can only guess that the usual suspect, unicode, is involved... but how?

Any help on this one would be appreciated.