forwarded 481816 http://sourceforge.net/tracker/index.php?func=detail&aid=1982097&group_id=39046&atid=424135 thanks
On Mon, May 19, 2008 at 03:42:47AM +0900, YAMASHITA Junji wrote: > With perl 5.10, tv_grab_jp causes error: > > Too late for "-C" option at /usr/bin/tv_grab_jp line 1. > > I found a incompatible change. > > From http://perldoc.perl.org/perldelta.html#Miscellaneous > > The -C option can no longer be used on the #! line. It > wasn't working there anyway, since the standard streams > are already set up at this point in the execution of the > perl interpreter. You can use binmode() instead to get > the desired behaviour. > > In truth, tv_grab_jp's line 1 has the -C option as '#!/usr/bin/perl -w -C'. > > Please eliminate the -C option from #! line. > > I had tried, and it was work for me. Thanks for your report, I have forwarded it onto the upstream developers. I tried the fix you mentioned, and the resulting XML file didn't seem to be utf8 encoded, contrary to what the first line of the XML file claimed. As I don't speak Japanese, I don't know if the resulting XML file is correctly encoded. Can you confirm that removing the -C option doesn't cause any encoding problems? -- Chris Butler <[EMAIL PROTECTED]> GnuPG Key ID: 1024D/D097A261 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

