Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: XML::Twig::flush() and html/xml entities

by mandarin (Friar)
on Oct 06, 2006 at 08:38 UTC ( #576630=note: print w/replies, xml ) Need Help??

in reply to Re: XML::Twig::flush() and html/xml entities
in thread XML::Twig::flush() and html/xml entities

I can't remember exactly, when and why I invented the call to set_keep_encoding but I think it was due to problems with the encoding of the output.
Maybe those where fixed by inventing the binmode(STDOUT,":utf8") line.
I'm as quite new to Perl as to xml as to utf-8, so development went somewhat on a trial and error basis ;-)
Anyway, it works without set_keep_encoding. Fine :-)
Thanks a lot to anyone helping, esp. you and mirod
  • Comment on Re^2: XML::Twig::flush() and html/xml entities

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://576630]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2016-10-24 20:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.