How do I get the charset encoding in an HTML?

Hi all,

Does anybody has any idea how to get the charset encoding from an HTML page using HTML tidy?

thanks,
Alejo

Received on Saturday, 4 October 2008 19:25:57 UTC