El MiñÓcoles, 2 de Septiembre de 2009, James Edward Gray II escribi > >> search_what=CGI.escape("Alarc") > >> page="http://es.wikipedia.org/w/index.php?title=Especial%3ABuscar&search > >>=#{search_what}&fulltext=Buscar " > >> open(page){ |f| print f.read } > > > > Thanks but the problem is that the geo_location Ruby gem returns a > > wrong string (encoded in ASCII-8BIT) since it contains invalid chars > > for ASCII-8BIT encoding, so Ruby fails when trying to convert it to > > other encoding :( > > There are no invalid characters in ASCII-8BIT. It's a catch all > Encoding. So that's definitely not the problem ;) Ok, that's a good point. I'll try it. -- Iki Baz Castillo <ibc / aliax.net>