19035Re: [PBML] How to convert to ascii
- Jun 1, 2004--- In firstname.lastname@example.org, Paul Archer <tigger@i...> wrote:
> 10:11am, Gilles Beauregard wrote:encoding (to
> > Allo!
> > How to convert the following string to regular ascii:
> > mailto:we
> Look at chr (and it's opposite, ord). But that looks like HTML
> my non-web master/developer eye). So my guess is there's asubrouting in the
> CGI module that'll do what you want.There is an escapeHTML() function in CGI.pm but I didn't find a
As Paul suggests, chr() will convert 109 to 'm'
So, maybe you could split the string on semi-colons, strip off the
'' and then run through chr().
- << Previous post in topic Next post in topic >>