From: Adam Dickmeiss Date: Wed, 3 May 2006 13:01:04 +0000 (+0000) Subject: Prepare test for latin-1 -> utf-8 with combo chars X-Git-Tag: YAZ.2.1.20~93 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=6e30ece4502a0c2c875be511d2ec051598292133;p=yaz-moved-to-github.git Prepare test for latin-1 -> utf-8 with combo chars --- diff --git a/test/tsticonv.c b/test/tsticonv.c index d95d798..55cd9d1 100644 --- a/test/tsticonv.c +++ b/test/tsticonv.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.18 2006-04-24 23:21:26 adam Exp $ + * $Id: tsticonv.c,v 1.19 2006-05-03 13:01:04 adam Exp $ */ #if HAVE_CONFIG_H @@ -480,9 +480,16 @@ static void tst_latin1_to_marc8() /** Pure ASCII. 13 characters (sizeof(outbuf)) */ YAZ_CHECK(tst_convert(cd, "Cours de math.", "Cours de math.")); - /** UPPERCASE SCANDINAVIAN O */ - YAZ_CHECK(tst_convert(cd, "SØ", "S\xa2")); + /** D8: UPPERCASE SCANDINAVIAN O */ + YAZ_CHECK(tst_convert(cd, "S\xd8", "S\xa2")); +#if 0 + /* does not pass yet */ + /** E9: LATIN SMALL LETTER E WITH ACUTE */ + YAZ_CHECK(tst_convert(cd, + "Cours de math\xe9", + "Cours de mathâe")); +#endif yaz_iconv_close(cd); }