X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_iconv.c;h=76d3965afd2aeec02d14a2fc28111392e749368e;hp=ab05cee67ef3fc446100801bcf3fea8be6596d57;hb=6ee0d7c0404834a0a59547c3bd7e2686f838ce37;hpb=939b4b8c6d6c6a3e5bb0833dc7977ebcdfe2dbf2 diff --git a/test/test_iconv.c b/test/test_iconv.c index ab05cee..76d3965 100644 --- a/test/test_iconv.c +++ b/test/test_iconv.c @@ -697,6 +697,7 @@ static void tst_danmarc_to_utf8(void) YAZ_CHECK(tst_convert(cd, "@*", "*")); YAZ_CHECK(tst_convert(cd, "@@", "@")); YAZ_CHECK(tst_convert(cd, "@\xa4", "\xC2\xA4")); + YAZ_CHECK(tst_convert(cd, "\xa4", "\xC2\xA4")); YAZ_CHECK(tst_convert(cd, "@\xe5", "\xEA\x9C\xB3")); YAZ_CHECK(tst_convert(cd, "@\xc5.", "\xEA\x9C\xB2" ".")); @@ -723,7 +724,7 @@ static void tst_utf8_to_danmarc(void) YAZ_CHECK(tst_convert(cd, "*", "@*")); YAZ_CHECK(tst_convert(cd, "@", "@@")); - YAZ_CHECK(tst_convert(cd, "\xC2\xA4", "@\xa4")); + YAZ_CHECK(tst_convert(cd, "\xC2\xA4", "\xa4")); YAZ_CHECK(tst_convert(cd, "a\xc3\xa5" "b", "a\xe5" "b")); /* aring */ YAZ_CHECK(tst_convert(cd, "a\xce\xbb" "b", "a@03BBb")); /* lambda */