From: Axel Etzold Date: 2009-09-02T22:00:40+09:00 Subject: Re: Ruby1.9: Encoding problems (how to use #force_encoding ?) Dear I�aki, maybe you can use CGI.escape for your encoding problems? I fetched the Spanish wikipedia page for Alarc�n like so: # encoding: utf-8 require "cgi" require 'open-uri' search_what=CGI.escape("Alarc�n") page="http://es.wikipedia.org/w/index.php?title=Especial%3ABuscar&search=#{search_what}&fulltext=Buscar" open(page){ |f| print f.read } Best regards, Axel -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser