Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL?
[email protected] ("Franklin Tse")
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
Understand that maintainability is a problem. However, the same should not happen with IPv6. cURL, as far as I know, has native IPv6 support. -------------------------------------------------- From: "Pierre Joye" <[email protected]> Sent: Monday, 02 February 2009 22:40 To: "Franklin Tse" <[email protected]> Cc: <[email protected]> Subject: Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL? > hi, > > On Mon, Feb 2, 2009 at 3:35 PM, Franklin Tse > <[email protected]> wrote: >>> You have idn functions in php 5.3.0 directly (idn_to_ascii, idn_to_utf8). >> >> True, but it seems that with IDN support enabled in cURL, an IRI can be passed directly to curl_init($iri). This does not have conflict with the PHP idn functions. > > It is a matter of maintainability, adding yet another dependency > (libidn) only to support URI with IDN domain is not something I like > to do, especially when it is easy to use php's IDN functions to do the > conversion. > > Cheers, > -- > Pierre > > http://blog.thepimp.net | http://www.libgd.org >
smime.p7s
(application/x-pkcs7-signature, 4.6 KB) - not displayed