From: Florian Gilcher Date: 2010-11-15T17:18:07+09:00 Subject: Re: Nokogiri not read html file in Cent OS 32-bit What Ryan is telling you: you have to pass a filepointer or the actual HTML as string, not a string containing a filename. Am 15.11.2010 um 06:55 schrieb Priyank Shah : > Ryan Davis wrote in post #961099: >> On Nov 12, 2010, at 05:53 , Priyank Shah wrote: >> >>> @test = Nokogiri::HTML("abc.html") >> >> 503 % ri Nokogiri.HTML >> = Nokogiri.HTML >> >> (from gem nokogiri-1.4.3.1) >> ---------------------------------------------------------------------------- >> HTML(thing, url = nil, encoding = nil, options = >> XML::ParseOptions::DEFAULT_HTML, &block) > > > hi, > > Thanks for reply but not getting solution i get only > > > as a output, not actual html contents in file. > > I check nokogiri but i think it is some html character set encoding > issue. > > can you give me some idea about this? > > Thanks, > Priyank Shah > > -- > Posted via http://www.ruby-forum.com/. >