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: Charles Yeomans <charles at declareSub dot com>
Date: Tue, 30 Jan 2007 17:59:14 -0500
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> <fed2e2560701301426l16a5ba7et83a625793a87bbe3 at mail dot gmail dot com>

On Jan 30, 2007, at 5:26 PM, Dennis Birch wrote:

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?

Hmmm; this was not my experience; in addition, ShellPath, AbsolutePath and URLPath don't work so well with remote volumes.

Charles Yeomans

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