convert utf-8 << and >> into ASCII
[webpac2] / scripts / aleph2iso.pl
index b058008..1e8ffcf 100755 (executable)
@@ -31,6 +31,8 @@ $marc = new_marc();
 
 while (<$m21>) {
        chomp;
+       s/\xC2\x98/<</g;
+       s/\xC2\x9C/>>/g;
        my ( $id, $rest ) = split(/\s/, $_, 2);
        my ( $fffii, $sf ) = split(/\s+L\s+/,$rest,2);