From: Nick M. <kno...@us...> - 2010-08-16 01:26:53
|
Update of /cvsroot/xmltv/xmltv/grab/uk_rt In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3096/grab/uk_rt Modified Files: tv_grab_uk_rt.in Log Message: Handle {pound} seen in source text in lieu of Pound Sterling symbol. Index: tv_grab_uk_rt.in =================================================================== RCS file: /cvsroot/xmltv/xmltv/grab/uk_rt/tv_grab_uk_rt.in,v retrieving revision 1.307 retrieving revision 1.308 diff -C2 -d -r1.307 -r1.308 *** tv_grab_uk_rt.in 13 Aug 2010 12:46:20 -0000 1.307 --- tv_grab_uk_rt.in 16 Aug 2010 01:26:44 -0000 1.308 *************** *** 1951,1958 **** } ! # After fixups replace any non-breaking space chars with regular spaces ! t(" Looking for non-breaking spaces..."); if ( s/\xC2\xA0/\x20/g ) { ! t(" Replaced non-breaking space chars with regular spaces"); } --- 1951,1965 ---- } ! # Replacements for specific strings seen in source data ! # ===================================================== ! # ! t(" Looking for specific strings to replace..."); ! # Replacement for Pound Sterling symbol seen as {pound} ! if ( s/\x7B\x70\x6F\x75\x6E\x64\x7D/\xC2\xA3/g ) { ! t(" Replaced \"{pound}\" with Pound Sterling symbol"); ! } ! # Replace any non-breaking (NBSP) space chars with regular spaces if ( s/\xC2\xA0/\x20/g ) { ! t(" Replaced non-breaking spaces with regular spaces"); } |