1/* Prints the portable name for the current locale's charset. */
2
3#include <stdio.h>
4#include <stdlib.h>
5#include <locale.h>
6#include "localcharset.h"
7
8int main ()
9{
10  setlocale(LC_ALL, "");
11  printf("%s\n", locale_charset());
12  exit(0);
13}
14