Re: escape_uri ?

2006-12-29 Thread David Scott
From: http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Util__escape_uri___: "Apache::Util::escape_uri() Apache::Util::escape_uri() has been replaced with Apache2::Util::escape_path() and requires a pool o

escape_uri ?

2006-12-29 Thread Jonathan Vanasco
Is there an "escape_uri" function in Apache2 somewhere? I only see unescape_uri in Apache2::Util // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Id

Re: Weird behaviour with strings and accents

2006-12-29 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > On Thu, Dec 28, 2006 at 07:18:29PM +0100, Cyril SCETBON wrote: >> [EMAIL PROTECTED] wrote: >>> On Wed, Dec 27, 2006 at 04:56:50PM +0100, Cyril SCETBON wrote: >> [no utf8] > >> $VAR1 = [ >> 'à présent protégé' >>

Re: Weird behaviour with strings and accents

2006-12-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Dec 28, 2006 at 07:18:29PM +0100, Cyril SCETBON wrote: > > > [EMAIL PROTECTED] wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >On Wed, Dec 27, 2006 at 04:56:50PM +0100, Cyril SCETBON wrote: [...] > Here you can see the res

Re: Weird behaviour with strings and accents

2006-12-29 Thread Lionel MARTIN
Hi, Having $VAR1 = ["\x{e0} pr\x{e9}sent prot\x{e9}g\x{e9}"] or $VAR1 = ["\x{e0} pr\x{e9}sent prot\x{e9}g\x{e9}login774"]; is really what you were expecting, i.e. true latin1 one byte characters. (it appears that your dump shows the hexa code of non ASCII chars, i.e. with hex code above \x{a0

Re: Weird behaviour with strings and accents

2006-12-29 Thread Cyril SCETBON
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Dec 27, 2006 at 04:56:50PM +0100, Cyril SCETBON wrote: I'm using Modperl 2.0.2 with apache 2.0.55 and modperl is doing something wrong with my string : my $var="à présent protégé"; warn Dumper [$var]; my $var="à