mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-10 09:26:43 +00:00
14 lines
240 B
C
14 lines
240 B
C
/* Prints the portable name for the current locale's charset. */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <locale.h>
|
|
#include "localcharset.h"
|
|
|
|
int main ()
|
|
{
|
|
setlocale(LC_ALL, "");
|
|
printf("%s\n", locale_charset());
|
|
exit(0);
|
|
}
|