Changeset 28796

Show
Ignore:
Timestamp:
21.01.2014 15:48:31 (6 years ago)
Author:
ak19
Message:

Diego's Spano's bugfix to bug found by Justin Cooper when Justin was trying to process a problematic PDF. The mailing list documents their discussion.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/unicode.pm

    r27333 r28796  
    147147    } else { 
    148148        # error, don't encode anything 
    149         die; 
     149        #die; 
     150        # Diego's bugfix: instead of aborting the import process, it 
     151        # is better to get a converted file with a few extra spaces 
     152        print STDERR "strange char: $num\n"; 
     153        $out .= " "; 
     154 
    150155    } 
    151156    }