La, la, la... Forgot the attachment. Here it is.

#include <glib.h>
#include <locale.h>

int
main ()
{
	const gchar *buffer;

	setlocale (LC_ALL, "");
	
	g_print ("%d\n", g_get_charset (&buffer));
	g_print ("%s\n", buffer);

	return 0;
}

Reply via email to