X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ficonv_decode_danmarc.c;h=cf9e50c45810ff4c15e4cbec1e2e1745c75d167e;hp=e53075b52f9ab346eec1e5d8c2f7c57f886c7efc;hb=44de7e21fac2c7c731b635ba1d31b99ae6bb1259;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/src/iconv_decode_danmarc.c b/src/iconv_decode_danmarc.c index e53075b..cf9e50c 100644 --- a/src/iconv_decode_danmarc.c +++ b/src/iconv_decode_danmarc.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -57,14 +57,12 @@ static unsigned long read_danmarc(yaz_iconv_t cd, *no_read = 2; break; case 0xe5: /* LATIN SMALL LETTER A WITH RING ABOVE */ - x = 'a'; - data->x_back = 'a'; - *no_read = 1; + x = 0xa733; + *no_read = 2; break; case 0xc5: /* LATIN CAPITAL LETTER A WITH RING ABOVE */ - x = 'A'; - data->x_back = 'a'; - *no_read = 1; + x = 0xa732; + *no_read = 2; break; default: if (inbytesleft < 5)