Mechanize gem


Hi All,

I am trying to use Mechanize gem for some url, I am submitting the form
in that url but on the following submit command I got an error message.

command: page = agent.submit(search_form)

error: Iconv::InvalidEncoding
invalid encoding (“ISO-8859-1;”, “UTF-8”)

Please help me out,

Thanks in advance,


I have some problem - invalid encoding (“cp-1251”, “UTF-8”)
And I dont find any information about it problem in Google

On 30 май, 15:22, Saurabh P. removed_email_address@domain.invalid