mechanize:Mechanize::Page#encoding=
>> require 'mechanize' => true >> agent = Mechanize.new => #<Mechanize:0xb74dc328 ... >> page = agent.get('http://google.com/') => #<Mechanize::Page {url #<URI::HTTP:0xb74cbeec URL:http://www.google.co.jp/>} {meta} ... >> page.encoding => "Shift_JIS" >> page.encoding = "EUC-JP" => "EUC-JP" >> page.encoding => "Shift_JIS"
?