Bug#633511: libwww-perl: Incorrect encoding handling for text/html files with LWP::Simple::get and insufficient documentation

Vincent Lefevre vincent at vinc17.net
Mon Jul 11 08:58:52 UTC 2011


I forgot to say about the files used in my tests...

Concerning the file contents:
  * perl-lwp-test1a.xml and perl-lwp-test1h.xml have the same
    contents, which are also valid in the UTF-8 encoding.
  * perl-lwp-test2a.xml and perl-lwp-test2h.xml have the same
    contents, which are not valid in the UTF-8 encoding.

Concerning the HTTP headers:
  * perl-lwp-test1a.xml and perl-lwp-test2a.xml are served as
    application/xml, with no associated HTTP charset. This case
    is covered by RFC 3023.
  * perl-lwp-test1h.xml and perl-lwp-test2h.xml are served as
    text/html, with no associated HTTP charset.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the pkg-perl-maintainers mailing list