[8363] in www-talk@info.cern.ch
Re: browsers translate characters?
daemon@ATHENA.MIT.EDU (Darren New)
Thu Jun 8 10:30:27 1995
Date: Thu, 8 Jun 1995 10:22:24 +0500
Errors-To: procmaster@www19.w3.org
Reply-To: dnew@sgf.fv.com
From: Darren New <dnew@sgf.fv.com>
To: Multiple recipients of list <www-talk@www10.w3.org>
> On Wed, 7 Jun 1995, Rick Stout wrote:
>
> > I've been working on a CGI script (in C) and discovered that
> > forward slashes put into a text field on a form get received
> > at the server as the string "%2F". (And that tildes (~) are
> > received as "%7E" and colons as "%3A".)
>
> These are Hex Escapes (or something like that)... That is a character
> encoded. No matter what %7E should translate to ~.....etc.
And some browsers escape space characters with + signs, too.
There's a decent yet simple C parser for these things in
ftp://ftp.fv.com/pub/code/fv-wwwcgi/member.tar