cURL / Mailing Lists / curl-users / Single Mail

curl-users

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