I'm writing a simple script using AnyEvent::HTTP
which fetches several HTML-pages in parallel. The module doesn't do any content decoding, it just provides the response body and headers to the callback.
What would be the proper way to decode the response into Perl's Unicode strings? Should I rely on the "Content-Type" header field or meta tags?