summaryrefslogtreecommitdiff
path: root/src/locale/bind_textdomain_codeset.c
blob: 240e83edffeff2baee8104cbbe031fc713f68477 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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 0;
	}
	return "UTF-8";
}