about summary refs log tree commit diff
path: root/src/locale/bind_textdomain_codeset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale/bind_textdomain_codeset.c')
-rw-r--r--src/locale/bind_textdomain_codeset.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/locale/bind_textdomain_codeset.c b/src/locale/bind_textdomain_codeset.c
new file mode 100644
index 00000000..5ebfd5e8
--- /dev/null
+++ b/src/locale/bind_textdomain_codeset.c
@@ -0,0 +1,11 @@
+#include <libintl.h>
+#include <string.h>
+#include <strings.h>
+#include <errno.h>
+
+char *bind_textdomain_codeset(const char *domainname, const char *codeset)
+{
+	if (codeset && strcasecmp(codeset, "UTF-8"))
+		errno = EINVAL;
+	return NULL;
+}