projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe945f
)
Add alias ANSEL -> MARC-8 for decoding to UTF8
author
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 17 Nov 2008 11:23:06 +0000
(12:23 +0100)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Mon, 17 Nov 2008 11:23:06 +0000
(12:23 +0100)
src/iconv_decode_marc8.c
patch
|
blob
|
history
diff --git
a/src/iconv_decode_marc8.c
b/src/iconv_decode_marc8.c
index
84af5b3
..
96a72bd
100644
(file)
--- 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;