Re: utf8 urls

2008-03-19 Thread André Warnier
I think that these things can get very confused and confusing very quickly, unless one steps through them one step at a time. Let me try a first iteration : 1) URI's, as sent to the HTTP server, should contain only US-ASCII characters (and no spaces). If there are other characters, they shou

Re: utf8 urls

2008-03-19 Thread John ORourke
Geoffrey Young wrote: John ORourke wrote: Eli Shemer wrote: For some reason the following test doesn’t print anything out to the screen I'm not sure why you get nothing, but I can tell you strings read from Apache objects come through as octets and need to be decoded before use. We're usi

Re: utf8 urls

2008-03-19 Thread Torsten Foertsch
On Wed 19 Mar 2008, Eli Shemer wrote: > For some reason the following test doesn’t print anything out to the screen > > Do I need to change something in the apache configuration, or mod_perl’s ? > >   > > /articles_read.pl?id=חוזרת This is probably a bug in libapreq2. I have tried this handler: s

Re: utf8 urls

2008-03-19 Thread Geoffrey Young
John ORourke wrote: Eli Shemer wrote: For some reason the following test doesn’t print anything out to the screen Do I need to change something in the apache configuration, or mod_perl’s ? /articles_read.pl?id=חוזרת ## get http parameters $r = shift; $apr = Apache2::Request->

Re: utf8 urls

2008-03-19 Thread André Warnier
From a previous message by Adam Prime in this same list : [...] SetHandler modperl doesn't bind 'print' to '$r->print'. Try SetHandler perl-script, or change your code to pass in the request object and use $r->print instead of print. [...] or, more verbously and explicitly : if in your Apache

Re: utf8 urls

2008-03-19 Thread John ORourke
Eli Shemer wrote: For some reason the following test doesn’t print anything out to the screen Do I need to change something in the apache configuration, or mod_perl’s ? /articles_read.pl?id=חוזרת ## get http parameters $r = shift; $apr = Apache2::Request->new($r); print $apr->pa

utf8 urls

2008-03-19 Thread Eli Shemer
Hey there For some reason the following test doesn’t print anything out to the screen Do I need to change something in the apache configuration, or mod_perl’s ? /articles_read.pl?id=חוזרת ## get http parameters $r = shift; $apr = Apache2::Request->new($r); print $apr->param('id');