cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Unicode in libcurl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 16 Aug 2004 10:56:18 +0200 (CEST)

On Mon, 16 Aug 2004, nkb wrote:

> If I use libcurl in my application to retrieve some infomation from a
> webserver and it returns a page with UTF8 encoding. Would libcurl able to
> correctly transfer the page? Or do I need to set some option to ensure that
> libcurl get the data in the right character format?

libcurl will send exactly what you tell it to send, and it provides the data
back that the server sent.

There's nothing in libcurl that knows or need to know about unicode, UTF8 or
any other character set.

So, the answer is: no.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-08-16