projects
/
migration-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fingerprinter tweak
[migration-tools.git]
/
spit_csv.pl
diff --git
a/spit_csv.pl
b/spit_csv.pl
index
339ec2f
..
fbf29e9
100755
(executable)
--- a/
spit_csv.pl
+++ b/
spit_csv.pl
@@
-20,7
+20,10
@@
foreach my $argnum ( 0 .. 0 ) {
print STDERR "Processing " . $ARGV[$argnum] . "\n";
- my $batch = MARC::Batch->new('XML',$ARGV[$argnum]);
+ my $M;
+ open $M, '<:utf8', $ARGV[$argnum];
+ my $batch = MARC::Batch->new('XML',$M);
+
$batch->strict_off();
$batch->warnings_off();