in reply to Re^3: XML::Twig and HTML Entities
in thread XML::Twig and HTML Entities

Update:

It turns out in the code excerpt I wrote to demonstrate my problem, the problem is easily solved by setting 'keep_encoding => 1' when the Twig is created.

In the actual code that is trying to do this same thing, 'keep_encoding => 1' is set but the output behaves like it is not set. And I get the behavior described in the original message. Maybe this additional information will ring a bell with someone.

Replies are listed 'Best First'.
Re^5: XML::Twig and HTML Entities
by bpphillips (Friar) on Nov 13, 2004 at 01:47 UTC
    It's hard to help when the code you post doesn't reflect the actual problem you're experiencing. If you can, post an example that behaves improperly with the undesired output as well as the desired output.