curl-library
Re: Does curl support UTF -8
Date: Fri, 23 Oct 2009 14:40:03 +0100
Daniel Stenberg wrote:
> On Fri, 23 Oct 2009, centrio_at_gmail.com wrote:
>
> >I wanted to connect to a URL which is encoded in UTF - 8 . It has some
> >chinese characters (say) or Danish characters.
>
> A URL is a URL, libcurl doesn't care about what possible characters it
> contains of as long as it adheres to the URL (or rather URI) spec.
URIs (and URLs) do not contain non-ASCII characters.
shivanand is describing an *IRI*.
So the answer is to learn about IRI-to-URI conversion.
The methods are quite different depending on whether the international
characters are in the domain name or the rest of the IRI.
-- Jamie
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-23