Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL?
| From: | Pierre Joye | Date: | Mon, 02 Feb 2009 14:40:33 +0000 |
| Subject: | Re: [INTERNALS-WIN] No IDN and IPv6 support in cURL? | ||
| References: | 1 2 3 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-393@lists.php.net to get a copy of this message | ||
hi,
On Mon, Feb 2, 2009 at 3:35 PM, Franklin Tse
<peaceable_whale@hotmail.com> 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