xmltv/grab/fi/fi common.pm,2.04,2.05

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

Modified Files:
	common.pm 
Log Message:
- minor code style fixes


Index: common.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/grab/fi/fi/common.pm,v
retrieving revision 2.04
retrieving revision 2.05
diff -C2 -d -r2.04 -r2.05
*** common.pm	5 Dec 2014 19:35:46 -0000	2.04
--- common.pm	22 Feb 2015 14:10:47 -0000	2.05
***************
*** 76,80 ****
        unless ($@) {
  	  # Everything is OK
! 	  $content = decode($encoding || "utf8", $content);    # Note: 'utf8' is NOT the same as 'utf-8' !
  	  last RETRY;
        } elsif (($@ =~ /error: 500 Timeout/) && $retries--) {
--- 76,83 ----
        unless ($@) {
  	  # Everything is OK
! 	  # NOTE: "utf8"  means "Perl's historic notion of UTF-8"
! 	  #       "utf-8" means "utf-8-strict" which is NOT the same!
! 	  #       (see Encode man page)
! 	  $content = decode($encoding || "utf8", $content);
  	  last RETRY;
        } elsif (($@ =~ /error: 500 Timeout/) && $retries--) {


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
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.