curl-users
RE: loging in with -F
From: Matomira, Fernando <Fernando.Matomira_at_dialog.com>
Date: Tue, 4 Jun 2002 15:15:40 +0200
Date: Tue, 4 Jun 2002 15:15:40 +0200
-----Original Message-----
From: Daniel Stenberg [mailto:daniel_at_haxx.se]
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
for
> > 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). Regards, Fer _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfmReceived on 2002-06-04