X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_iconv.c;h=76d3965afd2aeec02d14a2fc28111392e749368e;hb=f84b7bc9900a44f2e760dd9fa2456c0d2d8955d9;hp=ab05cee67ef3fc446100801bcf3fea8be6596d57;hpb=f8ff51d46ab411a8b4244becf67c9748ef5550a7;p=yaz-moved-to-github.git 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 */