in reply to Re: WWW::Mechanize & encoding
in thread WWW::Mechanize & encoding

Means I'm getting the HTML entities.

Sorry --- wasn't joking about the drinking part. Rough couple of weeks. I will post the code as per your instruction, but it's pretty late here, and I've got another day of computers beating the crap out of me in just a few hours. :/

cheers

Replies are listed 'Best First'.
Re^3: WWW::Mechanize & encoding
by Anonymous Monk on Jun 28, 2011 at 14:36 UTC

    Means I'm getting the HTML entities.

    WWW::Mechanize warns about content not being the same as res->content

    and indeed, in my program, ->content has entities but res->content doesn't.

    It make sense, since WWW:Scripter uses HTML::DOM/innerHTML to get content.

    I'm not sure if Father Chrysostomos considers this the correct behaviour, but it matches my experience with Firefox browser.

    View-Source/Ctrl+U is different from document.body.parentNode.innerHTML