summaryrefslogtreecommitdiff
path: root/src/locale/nl_langinfo.c
blob: bb3a2c4685e89ea112f4ed63dba54fb7a18e1e12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <langinfo.h>

// FIXME: other items

char *nl_langinfo(nl_item item)
{
	switch (item) {
	case CODESET:
		return "UTF-8";
	default:
		return "";
	}
}