X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ficonv_decode_marc8.c;h=96a72bd8b771e4ce33299e3938f32a5f9ed481e1;hp=84af5b34390415cbe68dae4ad77b8b3a43be206c;hb=5787f1e881be090f6bdfe708e179f9f466356bc8;hpb=efe945f2dbfdbb92fb21067da236b3edae146466 diff --git a/src/iconv_decode_marc8.c b/src/iconv_decode_marc8.c index 84af5b3..96a72bd 100644 --- a/src/iconv_decode_marc8.c +++ b/src/iconv_decode_marc8.c @@ -259,7 +259,7 @@ void destroy_marc8(yaz_iconv_decoder_t d) yaz_iconv_decoder_t yaz_marc8_decoder(const char *fromcode, yaz_iconv_decoder_t d) { - if (!yaz_matchstr(fromcode, "MARC8")) + if (!yaz_matchstr(fromcode, "MARC8") || !yaz_matchstr(fromcode, "ANSEL")) d->read_handle = read_marc8; else if (!yaz_matchstr(fromcode, "MARC8s")) d->read_handle = read_marc8s;