#include <stdio.h>
#include <locale.h>
#include <nl_types.h>
#include <langinfo.h>

int
main(int argc, char *argv[])
{
	char *foo;

	setlocale(LC_ALL, "");

	foo = nl_langinfo(CODESET);
	printf("%s\n", foo);

	return 0;
}
