blob: c531a9c95dd561c748050b12b9920d0b66eaac8e [file] [log] [blame]
/* Prints the portable name for the current locale's charset. */
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include "libcharset.h"
int main ()
{
setlocale(LC_ALL, "");
printf("%s\n", locale_charset());
exit(0);
}