Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: WWW::Mechanize (charset mayhem)

by WizardOfUz (Friar)
on Dec 03, 2009 at 17:22 UTC ( [id://810883]=note: print w/replies, xml ) Need Help??


in reply to WWW::Mechanize (charset mayhem)

WWW::Mechanize uses HTML::Form internally. Take a look at the documentation for that module's parse() and accept_charset() methods.

Replies are listed 'Best First'.
Re^2: WWW::Mechanize (charset mayhem)
by GaijinPunch (Pilgrim) on Dec 04, 2009 at 00:24 UTC
    Thanks for the replies. I crashed pretty quick last night.

    >>marto: I've tried all kinds of versions. There's nothing about charset or encoding in 1.60's documentation. >> wizard: Thanks. I've looked around a bit but haven't been able to come up with anything. Searching around, I found a rather lengthy post here: http://code.google.com/p/www-mechanize/issues/detail?id=61&can=1&q=charset

    . I also installed LWP and whatnot specifically, which seems to have broken it further. I get this now when using Mechanize-1.34:
    Can't locate object method "decoded_content" via package "HTML::Form" at /usr/lib/perl5/site_perl/5.8.8/HTML/Form.pm line 145.

    1.60 doesn't give this error, but decodes everything to utf8 specifically. :(

      "There's nothing about charset or encoding in 1.60's documentation"

      Read Changes, back to the notes for version 1.56.

      Do you have a small working example I can play with?
        Hmm... small, I don't. The forms I'm submitting are only available after user/password authentication. I presumably could if could find an EUC only website w/ forms. :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-23 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found