Also update test_marccol.sh by putting proper leader in resulting
MARC record.
fi
filem=`echo $fb | sed 's/u8/m8/'`.marc
- ../util/yaz-marcdump -o marc -f utf8 -t marc8lossless $f >$filem
+ ../util/yaz-marcdump -l 9=32 -o marc -f utf8 -t marc8lossless $f >$filem
DIFF=${fb}.2.lst.diff
NEW=${fb}.2.lst.new
OLD=${srcdir}/${fb}.2.lst
- ../util/yaz-marcdump -f marc8 -t utf-8 $filem >$NEW
+ ../util/yaz-marcdump -l 9=97 -f marc8 -t utf-8 $filem >$NEW
if test $? != "0"; then
echo "$f: yaz-marcdump returned error"
ecode=1
{
cd1 = yaz_iconv_open(to, "utf-8");
if (cd1)
- yaz_marc_iconv(mt, cd);
+ yaz_marc_iconv(mt, cd1);
}
r = yaz_marc_decode_buf(mt, buf, -1, &result, &len_result);