summaryrefslogtreecommitdiff
path: root/src/locale/setlocale.c
blob: 28f29b80414618ff81f15e18789e869c03f3f1cf (plain)
1
2
3
4
5
6
7
8
9
#include <locale.h>

char *setlocale(int category, const char *locale)
{
	/* Note: plain "C" would be better, but puts some broken
	 * software into legacy 8-bit-codepage mode, ignoring
	 * the standard library's multibyte encoding */
	return "C.UTF-8";
}