Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: I love XML::Twig

by Joost (Canon)
on Oct 06, 2006 at 16:49 UTC ( #576710=note: print w/ replies, xml ) Need Help??


in reply to Re^2: I love XML::Twig
in thread I love XML::Twig

It's at least in perl 5.8.8 and 5.8.5. XML-Twig 3.13 and XML-Parser 2.34.

It's "workaroundable" but somewhat annoying. :-)


Comment on Re^3: I love XML::Twig
Replies are listed 'Best First'.
Re^4: I love XML::Twig
by mirod (Canon) on Oct 06, 2006 at 17:47 UTC

    Do you have a test case? I tried a couple of tests and could not reproduce the problem:

    perl -MXML::Twig -l -MEncode -e'print Encode::is_utf8( XML::Twig->npar +se( "<d>foo</d>")->root->text)' perl -MXML::Twig -l -MEncode -e'print Encode::is_utf8( XML::Twig->npar +se( qq{<?xml version="1.0" encoding="ISO-8859-1"?><d>foo</d>})->root- +>text)'

    Both give me a result of 1

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (16)
As of 2015-07-28 14:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls