xmltv/grab/eu_epgdata tv_grab_eu_epgdata,1.32,1.33
Jan Schneider <[email protected]>
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/grab/eu_epgdata
In directory vz-cvs-3.sog:/tmp/cvs-serv25818/grab/eu_epgdata
Modified Files:
tv_grab_eu_epgdata
Log Message:
Consistently use UTF-8 for input and output.
Index: tv_grab_eu_epgdata
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/eu_epgdata/tv_grab_eu_epgdata,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** tv_grab_eu_epgdata 8 Jun 2012 13:15:38 -0000 1.32
--- tv_grab_eu_epgdata 8 Jun 2012 13:15:56 -0000 1.33
***************
*** 165,172 ****
our $tmp = tempdir( CLEANUP => 1 ) . '/';
# set up XML::Twig
! our $epg= new XML::Twig( twig_handlers => { data => \&printepg } );
! our $channels = new XML::Twig( twig_handlers => { data => \&printchannels } );
our %genre;
! our $genre = new XML::Twig( twig_handlers => { data => \&makegenrehash } );
# build a hash: epgdata.com channel id -> xmltv channel id
--- 165,172 ----
our $tmp = tempdir( CLEANUP => 1 ) . '/';
# set up XML::Twig
! our $epg= new XML::Twig( twig_handlers => { data => \&printepg }, output_encoding => 'UTF-8' );
! our $channels = new XML::Twig( twig_handlers => { data => \&printchannels }, output_encoding => 'UTF-8' );
our %genre;
! our $genre = new XML::Twig( twig_handlers => { data => \&makegenrehash }, output_encoding => 'UTF-8' );
# build a hash: epgdata.com channel id -> xmltv channel id
***************
*** 254,258 ****
$w_args{OUTPUT} = $fh;
}
! $w_args{encoding} = 'ISO-8859-1';
our $writer = new XMLTV::Writer(%w_args);
--- 254,259 ----
$w_args{OUTPUT} = $fh;
}
! $w_args{encoding} = 'UTF-8';
! $w_args{ENCODING} = 'UTF-8';
our $writer = new XMLTV::Writer(%w_args);
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/