SourceForge.net
2010-10-25 09:58:53 UTC
Bugs item #2927242, was opened at 2010-01-07 00:27
Message generated for change (Settings changed) made by dekarl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2927242&group_id=39046
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_eu_epgdata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Schneider (yunosh)
Assigned to: mihaas (mihaas)
The data is CP1252 encoded, not ISO-8859-1 encoded. To fix this, just replace the two occurences of ISO with the CP counterpart:
--- tv_grab_eu_epgdata 2009-12-10 01:38:04.000000000 +0100
+++ /usr/bin/tv_grab_eu_epgdata 2010-01-07 00:03:10.000000000 +0100
@@ -219,7 +219,7 @@
my $result;
my $configwriter = new XMLTV::Configure::Writer( OUTPUT => \$result,
- encoding => 'ISO-8859-1' );
+ encoding => 'CP1252' );
$configwriter->start( { grabber => 'tv_grab_eu_epgdata' } );
$configwriter->write_string( {
id => 'pin',
@@ -257,7 +257,7 @@
die "ERROR: cannot write to $opt->{output}: $!" if not defined $fh;
$w_args{OUTPUT} = $fh;
}
-$w_args{encoding} = 'ISO-8859-1';
+$w_args{encoding} = 'CP1252';
our $writer = new XMLTV::Writer(%w_args);
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2927242&group_id=39046
Message generated for change (Settings changed) made by dekarl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2927242&group_id=39046
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_eu_epgdata
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Schneider (yunosh)
Assigned to: mihaas (mihaas)
Summary: _eu_epgdata: wrong charset
Initial Comment:The data is CP1252 encoded, not ISO-8859-1 encoded. To fix this, just replace the two occurences of ISO with the CP counterpart:
--- tv_grab_eu_epgdata 2009-12-10 01:38:04.000000000 +0100
+++ /usr/bin/tv_grab_eu_epgdata 2010-01-07 00:03:10.000000000 +0100
@@ -219,7 +219,7 @@
my $result;
my $configwriter = new XMLTV::Configure::Writer( OUTPUT => \$result,
- encoding => 'ISO-8859-1' );
+ encoding => 'CP1252' );
$configwriter->start( { grabber => 'tv_grab_eu_epgdata' } );
$configwriter->write_string( {
id => 'pin',
@@ -257,7 +257,7 @@
die "ERROR: cannot write to $opt->{output}: $!" if not defined $fh;
$w_args{OUTPUT} = $fh;
}
-$w_args{encoding} = 'ISO-8859-1';
+$w_args{encoding} = 'CP1252';
our $writer = new XMLTV::Writer(%w_args);
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2927242&group_id=39046