Subject: | live/encoding.t fails for EUC-JP |
Test failure:
t/live/encoding............7/13 Use of uninitialized value in pattern
match (m//) at t/live/encoding.t line 34.
# Failed test ' ... Got encoding EUC-JP'
# at t/live/encoding.t line 34.
# undef
# doesn't match '(?i-xsm:EUC-JP)'
t/live/encoding............11/13 # Looks like you failed 1 test of 13.
It is fetching the page at http://oops-music.com/ and checking for an
encoding of EUC-JP. However, this page does not set the encoding in the
HTTP headers, only inside the page, as
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
And apparently, WWW::Mechanize does not look in the page content for
this info, only in the headers.
I recommend finding a different page to test.