Sign in
third-party-mirror
/
kiwivm
/
refs/heads/master
/
.
/
mingw
/
libiconv
/
libcharset
/
tools
/
locale_charset.c
blob: f6b4a4f79656ab35e1c5a068babaea55cb3b79c7 [
file
] [
log
] [
blame
] [
edit
]
/* 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
);
}