From: "Alexandru E. Ungur" Date: 2006-06-23T04:29:31+09:00 Subject: Re: Accessing the raw/un-html-ized CGI parameters >>> sender: "Simen Edvardsen" date: "Fri, Jun 23, 2006 at 02:03:55AM +0900" << What is this? Webrick, Mongrel, Rails, etc. Difficult to help if we > have no idea what libraries you are using. Thanks for trying :) and sorry for being so vague. I am using Apache, plain Ruby run as cgi and the standard cgi module, like this: require 'cgi' cgi = CGI.new cgi['idn-domain-name-here.com'] # == BIG_SURPRISE! :) I enter this 'qwe��l��qwe.com' and get this 'qweşlţqwe.com' instead. I solved the problem by using 'htmlentities': http://htmlentities.rubyforge.org/ which btw, works excellent, but I'd still be interested if there is a solution to achieve this just by using the cgi module itself (and preventing the encoding in the first place). Thank you! Alex