check out the urlEncodedFormat() and urlDecode() functions in the manual
ie Somepage.cfm?category=#urlencodedformat('big beach balls')#
>
> Date: Sat, 24 Mar 2001 02:01:41 -0800
> From: "Michael Gribbin" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: truncation problems
> Message-ID: <1226694394-93503463@[209.221.166.53]>
>
> Hi,
>
> I've been unable to find the way to stop "truncation" in CF. I do it in
> other programming languages but need to find how to do it in CF.
>
> 1. To pass information in the URL that has spaces in it.
> Such as "Somepage.cfm?category=big beach balls". I need a way to fill the
> spaces with "%20's".
>
> 2. When appending to, or updating a record in a database with information
> that has spaces, quotes, questionmarks, etc. The <textarea></textarea>
> input
> doesn't seem to have a problem, only the <text type="text">. I put big red
> &
> blue beach balls into the database and all that getback is big red. Or I
> put
> Floor Jars (over 20" high) and all I get back is Floor Jars (over 2O .
>
> Thanks in advance,
>
> Michael Gribbin
> Digital Marketing Alliance
--
Regards;
Richard Meredith-Hardy
-------------------------------------------------------------
[EMAIL PROTECTED]
Tel: + 44 (0)1462 834776 FAX: + 44 (0)1462 732668
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists