From: "Piotr Mąsior" Date: 2010-02-02T01:09:03+09:00 Subject: Re: Zlib gzip Iconv, what is going on with UTF-8 Piotr Mąsior wrote: > I want to add, everything works fine when I turn off gzip > so following code works fine for every site: > > > response = Net::HTTP.get_with_head('http://www.interia.pl/', > {'Accept-Charset' => 'utf-8'}) > > that = Nokogiri::HTML(Iconv.conv('utf-8//IGNORE', encoding, html)) > > > > and 'that' is proper formated UTF-8 characterset > > > > When gzip is present makes it ��� > > > > regards Problem SOLVED, I had bad condition what caused problem. I always was giving "utf-8" to Iconv as encoding regards -- Posted via http://www.ruby-forum.com/.