From: James Britt Date: 2006-06-28T07:14:44+09:00 Subject: Re: URI::InvalidURIError when using curly brackets Richard Leonard wrote: >>From what I've found, curly brackets aren't allowed in a Ruby URI > (despite my browser being capable of handling them). Browsers lie. require 'open-uri' require 'cgi' uri = URI.parse('http://www.google.co.uk/search?q=' + CGI.escape('{3F2504E0-4F89-11D3-9A-0C-03-05-E8-2C-33-01}')) html = open(uri).read() p html -- James Britt "Programs must be written for people to read, and only incidentally for machines to execute." - H. Abelson and G. Sussman (in "The Structure and Interpretation of Computer Programs)