From fd70d0721ba156eb66529393469863bfa60f34e7 Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 25 Dec 1999 14:31:23 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'gtkmm_1_1_6'. svn path=/tags/gtkmm_1_1_6/; revision=1519 --- tests/test6.c | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 tests/test6.c (limited to 'tests/test6.c') diff --git a/tests/test6.c b/tests/test6.c deleted file mode 100644 index ead8312c52..0000000000 --- a/tests/test6.c +++ /dev/null @@ -1,50 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ - -/* test for the RFC 2047 encoder */ - -#include -#include - -#include "gmime-utils.h" -#include "stdio.h" -#include "camel-log.h" -#include "camel-mime-message.h" -#include "camel-mime-part.h" -#include "camel-stream.h" -#include "camel-stream-fs.h" -#include "camel.h" -#include "gmime-rfc2047.h" - -#define TERMINAL_CHARSET "UTF-8" - -/* - * Info on many unicode issues, including, utf-8 xterms from : - * - * http://www.cl.cam.ac.uk/~mgk25/unicode.html - * - */ - -const char *tests[] = -{ - "is is a test", "ISO-8859-1", - "Itrtinlation", "ISO-8859-1", - "Καλημέρα κόσμε", "UTF-8", - "コンニチハ", "UTF-8", - "ði ıntəˈnæʃənəl fəˈnɛtık əsoʊsiˈeıʃn", "UTF-8", - NULL -}; - - -int -main (int argc, char**argv) -{ - const char **b = tests; - while (*b) { - char *e = gmime_rfc2047_encode(b[0], b[1]); - printf("%s\t%s\n", e, gmime_rfc2047_decode(e, TERMINAL_CHARSET)); - b+=2; - } - - return 0; - -} -- cgit v1.2.3