curl-library
UTF-8 format not supporting
Date: Thu, 11 Oct 2012 16:32:28 +0530
R/S,
When i am downloading normal English websites every thing is working fine ,
but when downloading Korean Or chines web sites
Following contents are coming :
±¤°í ÇÁ·Î±×·¥ºñÁî´Ï½º ¼Ö·ç¼Ç <http://www.google.co.kr/intl/ko/services/>
code:
curl_easy_setopt(this->curlHandaler,CURLOPT_URL,"http://www.google.co.kr/");
curl_easy_setopt(this->curlHandaler,CURLOPT_REFERER,"");
curl_easy_setopt(this->curlHandaler,CURLOPT_ACCEPT_ENCODING,"");
curl_easy_setopt(this->curlHandaler,CURLOPT_HTTP_CONTENT_DECODING,1);
curl_easy_setopt(this->curlHandaler,CURLOPT_AUTOREFERER,1);
curl_easy_setopt(this->curlHandaler, CURLOPT_WRITEFUNCTION,
WriteFileCallback);
curl_easy_setopt(this->curlHandaler, CURLOPT_WRITEDATA, (void
*)&(this->filechunk));
Thanks
Gaurav Shukla
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-11