http://www.perlmonks.org?node_id=969271


in reply to XML::Twig (keep_encoding)

Could you provide us with a complete example demonstrating the problem. Note, that use open only affect opens within a lexical scope of the pragma, it has no effect on opens inside XML::Twig.