Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- replacing characters with their ASCII codes
- daniel kaplan
August 21, 2005, 12:50 am
rate this thread
Not sure what this is called, if I did, would be able to look it up myself.
Goes like this: my Perl apps call each other, passing variables through
parameters along the way. Now sometimes there might be a ' or a ", and
these doen't go smoothly, depending on what HTML code my Perl apps
generates. And these cause headaches.
So I thought there might be a function which translates all problematic
characters into their ASCII equivilant making everything safe to call in a
URL (i.e. Space becomes %20, etc).
Re: replacing characters with their ASCII codes
daniel kaplan wrote:
Er, it would be called "a Frequently Asked Question".
"How do I decode or create those %-encodings on the web?"
Yes I see the problem. That's why FAQs exist. FAQs are populated with
questions of exactly the type that would be difficult to find the
question without knowing more than someone asking the question is likely
For this reason you should not only search the FAQ list but also, from
time to time skim the whole thing so that when you encounder a FAQ you
will remember - "Oooh, I saw that in the FAQ".
- » [RFC] File::SplitStream - iterate over files >2GB when large filesupport unavailable
- — Previous thread in » PERL Modules Announcements
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum