From 7c412165256f54ea5e499868d9ab48cd9f442147 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Fri, 17 Apr 2009 14:42:18 +0000 Subject: More i18n infrastructure lib/charset.c h/zephyr/zephyr.h Refactor ZGetCharset into ZGetCharset and a function that does all the same defaulting but returns a string. ZTransliterate is a zephyr-metaphor wrapper for iconv. lib/zephyr-tests.py Wrappers for the functions in charset.c (but not tests) lib/zephyr_tests.txt Tests for the functions in charset.c --- h/zephyr/zephyr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'h') diff --git a/h/zephyr/zephyr.h b/h/zephyr/zephyr.h index 088f59a..077f6c6 100644 --- a/h/zephyr/zephyr.h +++ b/h/zephyr/zephyr.h @@ -236,6 +236,7 @@ Code_t ZUnsubscribeTo(ZSubscription_t *sublist, int nitems, Code_t ZCancelSubscriptions(unsigned int port); int ZPending(void); Code_t ZReceiveNotice(ZNotice_t *notice, struct sockaddr_in *from); +const char *ZGetCharsetString(char *charset); unsigned short ZGetCharset(char *charset); const char *ZCharsetToString(unsigned short charset); #ifdef Z_DEBUG -- cgit v1.2.3