On Aug 27, 6:51 pm, Piet van Oostrum wrote:
> > jakecjacobson (j) wrote:
> >j> This seems like a real simple newbie question but how can a person
> >j> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
> >j> f0-9]{2})/pack('C', hex($1))/seg;"
> >j> If I have a string like
On Thu, Aug 27, 2009 at 2:49 PM, Chris Rebert wrote:
> On Thu, Aug 27, 2009 at 2:10 PM, jakecjacobson wrote:
>> This seems like a real simple newbie question but how can a person
>> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
>> f0-9]{2})/pack('C', hex($1))/seg;"
>>
>> If
> jakecjacobson (j) wrote:
>j> This seems like a real simple newbie question but how can a person
>j> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
>j> f0-9]{2})/pack('C', hex($1))/seg;"
>j> If I have a string like Word1%20Word2%20Word3 I want to get Word1
>j> Word2
jakecjacobson wrote:
> This seems like a real simple newbie question but how can a person
> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
> f0-9]{2})/pack('C', hex($1))/seg;"
>
> If I have a string like Word1%20Word2%20Word3 I want to get Word1
> Word2 Word3. Would also
jakecjacobson wrote:
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;"
If I have a string like Word1%20Word2%20Word3 I want to get Word1
Word2 Word3. Would also like to han
On Thu, Aug 27, 2009 at 2:10 PM, jakecjacobson wrote:
> This seems like a real simple newbie question but how can a person
> unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
> f0-9]{2})/pack('C', hex($1))/seg;"
>
> If I have a string like Word1%20Word2%20Word3 I want to get Wo
This seems like a real simple newbie question but how can a person
unencode a string? In Perl I use something like: "$part=~ s/\%([A-Fa-
f0-9]{2})/pack('C', hex($1))/seg;"
If I have a string like Word1%20Word2%20Word3 I want to get Word1
Word2 Word3. Would also like to handle special characters