Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL?
[email protected] (Pierre Joye)
| Newsgroups | php.internals.win |
|---|---|
| Message-ID | <[email protected]> |
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