cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to make a status update at Twitter

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Thu, 29 Jul 2010 00:29:40 +0200

"Roland Mösl" <founder_at_pege.org> wrote:

>try %% instead of % ;)
>%2C => %%2C

> Great!
>
> It worked!
>
> I only do not understand why.

You posted using Outlook Express and is using curl on Windows, right?
So, the rule of your shell (cmd or 4NT or whatever) is to treat a '%' specially (as
an environment-variable prefix). Since you don't want that to happen, you must
tell your shell not to handle the '%' specially. You do that by using '%%'. A so-called
escaping.

--gv

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-29