From 6e30ece4502a0c2c875be511d2ec051598292133 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 3 May 2006 13:01:04 +0000 Subject: [PATCH] Prepare test for latin-1 -> utf-8 with combo chars --- test/tsticonv.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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); } -- 1.7.10.4