realbasic-nug
[Top] [All Lists]

Re: HTML Encoding code?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: HTML Encoding code?
From: Mars Saxman <mars at realsoftware dot com>
Date: Tue, 30 Jan 2007 14:26:08 -0800
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <A90D5E2B-7654-4377-865F-25C50DBB3A0A at mac dot com>

On Jan 30, 2007, at 2:19 PM, Guyren Howe wrote:

Bizarrely, I can't locate any code for REALbasic that converts characters intended for a URL into HTML escape sequences as need be. eg space into %20.

Bizarrely, also, there doesn't appear to be a built-in function to do it.

Sure there is: you're looking for EncodeURLComponent (and DecodeURLComponent).

Those aren't actually HTML escape sequences, however; they're URL escape codes.

Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>