IIS4 passing a value that contains a whitespace to a perl CGI

My perl CGIs worked fine with other web servers (Sambar, Xitami), but now I need them to work on IIS4.
The problem is when I'm trying to pass a value that contains a whitespace to my CGI. IIS just won't do that.

My CGI has a line like this:
$var = param('Name');
And I'm calling it like this:
MyCGI.pl?Name=Some Value
And it doesn't work (as I mentioned - it worked on other web servers).
It only workes like that:

Can somebody help me?  
Who is Participating?
MasseyMConnect With a Mentor Commented:
Replace the "white space" with "%20"  that is the "space" character... When the CGI program receives that line, it will (or should) know that is a space and recognize it as such.

gy7Author Commented:
Thanks, I tried it, but it does not work...
gy7Author Commented:
Well, after a long struggle, the correct solution turned out to be replacing the spaces with "+"s.
Anyway, thanks, you helped leading me there.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.