xmltv/grab Get_nice.pm,1.26,1.27
Geoff <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7914
Modified Files:
Get_nice.pm
Log Message:
(oops) forgot to import tha package
Index: Get_nice.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/Get_nice.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Get_nice.pm 20 Jan 2014 11:43:01 -0000 1.26
--- Get_nice.pm 21 Jan 2014 17:46:53 -0000 1.27
***************
*** 77,81 ****
if ($utf8) {
# (note: HTML::Parser->utf8_mode is only available Perl 5.8)
! require Encode;
$content = decode('UTF-8', $content); # strict utf-8
}
--- 77,81 ----
if ($utf8) {
# (note: HTML::Parser->utf8_mode is only available Perl 5.8)
! require Encode; import Encode;
$content = decode('UTF-8', $content); # strict utf-8
}
***************
*** 97,101 ****
$content = $filter->($content) if $filter;
if ($utf8) {
! require Encode;
$content = decode('UTF-8', $content); # strict utf-8
}
--- 97,101 ----
$content = $filter->($content) if $filter;
if ($utf8) {
! require Encode; import Encode;
$content = decode('UTF-8', $content); # strict utf-8
}
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk