cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Re: How to get HTTP charset? I wanna do charset conversion(or maybe libcurl already has this feature)

From: Michael Wood <esiotrot_at_gmail.com>
Date: Thu, 10 Jun 2010 17:04:35 +0200

Hi

2010/6/10 kartwall <kartwall_at_126.com>:
[...]
> Yeah, I got it. I found in HTTP response headers, "Content-Type:
> text/html; charset=UTF-8" is what I want. I can check out the charset here.

The problem is that you will find many pages that claim to be utf-8,
but are actually iso-8859-1 or something else.

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-10