Piotr Msior 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/.