Hi Henrik,

> any example of using the normal curl to handle redirects would be
> welcome so I don't have to go via php.

$ man curl

suggests that using the -L option will cause curl to use the
redirected url, e.g.:

curl -s -L http://feeds.feedburner.com/codinghorror

works.  However, it again returns the original latin1 encoding:

(in (list "curl" "-s" "-L" "http://feeds.feedburner.com/codinghorror";) (till))

To convert from latin1 to utf8, I would pipe the output to iconv
utility, something like: sh -c curl ... | iconv ...

Hope it helps,

Tomas
-- 
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to