Changeset 28796 for main/trunk


Ignore:
Timestamp:
2014-01-21T15:48:31+13:00 (10 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.

File:
1 edited

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    }
Note: See TracChangeset for help on using the changeset viewer.