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: "Dennis Birch" <dennisbirch at gmail dot com>
Date: Tue, 30 Jan 2007 14:26:47 -0800
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=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=L/RK03jcKO4oJpyfTQLI/YIFA5uNfpfGW1xhRw3szypZ8rvZLR5l9vFs9QOHct0MzYDLW/LIEGzg3xGuU19mboznleBYSJjYpD+tQImT8rRNrTmVP76l+3apsQ1uWpBXygWykPmUyEb1ysF1ab2HikLkAjEIi5NT5u5AbI/W6xA=
References: <A90D5E2B-7654-4377-865F-25C50DBB3A0A at mac dot com>
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?
_______________________________________________
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>