perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John ORourke <john-modp...@o-rourke.org>
Subject Re: utf8 urls
Date Wed, 19 Mar 2008 12:18:47 GMT
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->param('id');
>

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 using UTF-8 chars in URLs but I've never used one in a GET 
request parameter.

hope that helps,
John


>  
>
>  
>
> thanks in advance.
>
>  
>
>
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.5.503 / Virus Database: 269.16.4/1146 - Release Date: 
> 22/11/2007 18:55
>


Mime
View raw message