cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: curl returns intelligible text

From: G. T. Stresen-Reuter <tedmasterweb_at_gmail.com>
Date: Thu, 29 Apr 2010 11:16:39 +0100

I just tried curl http://sannhac.com > sample.html and it worked fine for me.

Maybe you need to be explicit with the protocol???

Ted S-R

On Apr 29, 2010, at 10:53 AM, Duong Dang wrote:

> Hi all,
>
> I am using curl from command line (bash and zsh on a Fedora Linux) to retrieve html from a website but the result is totally intelligible (No header, body or any html tag for that matter, only non-ascii characters)
>
> The website in question is in Vietnamese. Does it have anything to do with unicode?
>
> Attached is the output of
>
> curl sannhac.com > output.txt
>
> Any help will be greatly appreciated.
>
> Best,
> Duong
> <output.txt>-------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-29

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET