cURL / Mailing Lists / curl-users / Single Mail


RE: loging in with -F

From: Matomira, Fernando <>
Date: Tue, 4 Jun 2002 15:15:40 +0200

-----Original Message-----
From: Daniel Stenberg []
Sent: Tuesday, June 04, 2002 2:20 PM
To: Matomira, Fernando
Cc: Fernando D. Mato Mira; Curl Mailinglist
Subject: RE: loging in with -F

On Tue, 4 Jun 2002, Matomira, Fernando wrote:

> > Why not? What fails for "Asian customers" that you can't have curl do
> > you?
> URL encoding is only defined for the latin character set.

So how do regular browsers issue POST requests for those "Asian customers" ?

If you figure that out first and tell me, I'm sure I'll be able to tell you
how to make curl do that for you!

The only way I know is for non-latin pages to have a META tag with an
enctype attribute
defining the encoding and use POST.
There's --data-binary, but that means doing some ad-hoc decoding.
Maybe the question is what should the HTML FORM look like for it to be
accessible via -F,
so that one can specify the encoding in the content-type, eg:
content=@file;text/plain;charset=euc-kr (Korean).
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas --
Received on 2002-06-04