[Israel.pm] Hebrew with CGI

Guy Malachi guy at ucmore.com
Mon Jun 27 14:17:14 PDT 2005

Hey guys,
I am trying to call my CGI script with a url like this:

As soon as my script gets a "%u" in the URL it crashes (I get an HTTP 500 error).
Anybody have an idea how I can make this work?

BTW: the %u05D9 is created by encoding a string that has Hebrew characters in it by using JavaScript's encodeURIComponent.

My script is a simple CGI script that looks something like this:

use CGI;
my $q=new CGI;
print $q->header();

my $str=$q->param('str');
#do something with $str


More information about the Perl mailing list