Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to convert *space* to %20



On apple's site somewhere there's a great script to encode text to URL encoded text. If you google AppleScript URL encoded text I'm sure you'll find it.

Sent from my iPhone

On 1. nov. 2009, at 09.51, CJ Kelley <email@hidden> wrote:

Hi all,

I am writing an applescript application that will send an http request to the Alice bot. My question is, how do i convert a space to %20?

If i send a message like this:

"Hello Alice"

I get "400 - Bad Request"

Thanks in advance!
--CJ

--
Registered linux user #402,916 (registered since 2007)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >how to convert *space* to %20 (From: CJ Kelley <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.