Forum: Ruby on Rails Mechanize gem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
071e291a1589fe24f339c2cedca829df?d=identicon&s=25 Saurabh Peshkar (saurabh)
on 2009-05-30 14:22
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,
709dce544c3cc37365fff71c26592397?d=identicon&s=25 Pavel (Guest)
on 2009-06-24 10:09
(Received via mailing list)
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 Peshkar <>
This topic is locked and can not be replied to.