cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ebcdic and tpf patches

From: Jan de Lint <jg.de.lint_at_hccnet.nl>
Date: Wed, 15 Mar 2006 13:19:16 +0100

----- Original Message -----
From: "David McCreedy" <mccreedytpf_at_msn.com>
To: <curl-library_at_cool.haxx.se>
Sent: Wednesday, March 15, 2006 2:06 AM
Subject: Re: ebcdic and tpf patches

> Thanks for the quick feedback.
> Below are my comments... and a few questions.
>
> On Tuesday, 14 Mar 2006, Dan Fandrich wrote:
> >
> >
> >I have a few general comments:
> >
> >- As someone pointed out here recently, the hooks to do EBCDIC conversion
> >could also be used to do UNICODE conversion; as such, most references
> >to EBCDIC could be changed to something more generic.
>
> Can someone verify that the hooks for EBCDIC conversion are actually
> suitable for this?
> If so, it's a great idea. I just need to know which parts apply.
>
> >- Is it really necessary to provide callbacks for a user-supplied
> >conversion
> >routine? Can't you rely on libiconv to do the right thing and let the
user
> >create a custom iconv conversion table if necessary?
>
> Yes. Some TPF users do not have iconv.
> Others may use a different conversion method for performance reasons.
>
I am not well-versed enough in lubcurl development nor in the code-page
standards that apply to the web to actually verify any design. Perhaps also
mime types should be converted?
My UNICODE conversion layer around libcurl was fairly straightforward,
tailormade and far from generic. Translate url's, translate postvar names
and postvar values, consider uploadfile content binary, etc..
Jan
Received on 2006-03-15