realbasic-nug
[Top] [All Lists]

Re: HTML Encoding code?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: HTML Encoding code?
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Tue, 30 Jan 2007 23:22:29 +0000
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=qiZ20ge/5DKTxfyHZvhh+gnHPxRCXQ+NXJbRRJ0wYyyyxbbVgpUj7IdOqyUj/qgsdXdJdWVKbhDTmUX+u7eLIKg3QDsg/KVnUPMfyf5SiQAXkFfN2Ab31sUPK8CYgqIGKPHvf4RTckOQs1Q0VG6wLOdegqKTrhQBR0ZVy4MXKQQ=
References: <20070130223135 dot E01DA1899E27 at lists dot realsoftware dot com>
From: "Dennis Birch" <dennisbirch at gmail dot com>
Date: Tue, 30 Jan 2007 14:26:47 -0800

On 1/30/07, Guyren Howe <guyren at mac dot com> 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.

I could roll my own, but surely someone has already done this?

As I recently learned, the FolderItem.URLPath property/method does
encode paths and gets them nicely fixed up to make Web browsers happy.
Does that meet your need?

That is cool :)

--
http://elfdata.com/plugin/



_______________________________________________
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>