xmltv/grab/fi/fi/source telvis.pm, 2.03, 2.04 yle.pm, 2.09, 2.10

Stefan Becker <[email protected]>
Newsgroups gmane.comp.tv.xmltv.cvs
Message-ID <[email protected]>
Update of /cvsroot/xmltv/xmltv/grab/fi/fi/source
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv13779/grab/fi/fi/source

Modified Files:
	telvis.pm yle.pm 
Log Message:
- common: switch default to strict UTF-8 encoding


Index: telvis.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/fi/fi/source/telvis.pm,v
retrieving revision 2.03
retrieving revision 2.04
diff -C2 -d -r2.03 -r2.04
*** telvis.pm	1 Nov 2013 22:55:13 -0000	2.03
--- telvis.pm	24 Feb 2015 18:41:32 -0000	2.04
***************
*** 30,34 ****
  
    # Fetch & parse HTML
!   my $root = fetchTree("http://www.telvis.fi/tvohjelmat/?vw=channel");
    if ($root) {
  
--- 30,35 ----
  
    # Fetch & parse HTML
!   my $root = fetchTree("http://www.telvis.fi/tvohjelmat/?vw=channel",
! 		       "iso-8859-1");
    if ($root) {
  

Index: yle.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/fi/fi/source/yle.pm,v
retrieving revision 2.09
retrieving revision 2.10
diff -C2 -d -r2.09 -r2.10
*** yle.pm	22 Feb 2015 15:18:39 -0000	2.09
--- yle.pm	24 Feb 2015 18:41:32 -0000	2.10
***************
*** 39,43 ****
  
      # Fetch & parse HTML
!     my $root = fetchTree("http://$languages{$code}.yle.fi/tv/opas", "utf-8-strict");
      if ($root) {
  
--- 39,43 ----
  
      # Fetch & parse HTML
!     my $root = fetchTree("http://$languages{$code}.yle.fi/tv/opas");
      if ($root) {
  
***************
*** 87,91 ****
    # Fetch & parse HTML (do not ignore HTML5 <time>)
    my $root = fetchTree("http://$languages{$code}.yle.fi/tv/opas?t=" . $today->ymdd(),
! 		       "utf-8-strict", undef, 1);
    if ($root) {
      my @objects;
--- 87,91 ----
    # Fetch & parse HTML (do not ignore HTML5 <time>)
    my $root = fetchTree("http://$languages{$code}.yle.fi/tv/opas?t=" . $today->ymdd(),
! 		       undef, undef, 1);
    if ($root) {
      my @objects;


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.