From 895b2faf57d64935616cb1e98919ca66cfa15604 Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Thu, 22 Jul 2004 18:44:01 +0000 Subject: This change implements the following gettext features, as discussed recently in python-dev: In _locale module: - bind_textdomain_codeset() binding In gettext module: - bind_textdomain_codeset() function - lgettext(), lngettext(), ldgettext(), ldngettext(), which return translated strings encoded in preferred system encoding, if bind_textdomain_codeset() was not used. - Added equivalent functionality in translate() function and catalog classes. Every change was also documented. --- pyconfig.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyconfig.h.in') diff --git a/pyconfig.h.in b/pyconfig.h.in index 4918ab7fca..5e1a43c4b8 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -37,6 +37,9 @@ /* Define this if your time.h defines altzone. */ #undef HAVE_ALTZONE +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + /* Define to 1 if you have the header file. */ #undef HAVE_BLUETOOTH_BLUETOOTH_H -- cgit v1.2.1