X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_iconv.c;h=27596b207c41f6841b51cb14f21c4ea31abfc2c2;hp=aacea86920d48c891ef21dedf87802f37d8ce132;hb=13ac77e545b5d7e8b5ecb053d0aaa321ce12e487;hpb=5242cb5a8634bfa38b9333ff7f903e718ac6e292 diff --git a/test/test_iconv.c b/test/test_iconv.c index aacea86..27596b2 100644 --- a/test/test_iconv.c +++ b/test/test_iconv.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H @@ -507,9 +507,12 @@ static void tst_utf8_to_marc8(const char *marc8_type) /** UPPERCASE SCANDINAVIAN O */ YAZ_CHECK(tst_convert(cd, "S\xc3\x98", "S\xa2")); - /** ARING */ + /** ARING (NFD) */ YAZ_CHECK(tst_convert(cd, "A" "\xCC\x8A", "\xEA" "A")); + /** ARING (NFC) */ + YAZ_CHECK(tst_convert(cd, "\xC3\x85", "\xEA" "A")); + /** A MACRON + UMLAUT, DIAERESIS */ YAZ_CHECK(tst_convert(cd, "A" "\xCC\x84" "\xCC\x88", "\xE5\xE8\x41"));