repo.or.cz
/
libiconv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Prepare for Unicode 3.1 support.
[libiconv.git]
/
libcharset
/
tools
/
locale_charset.c
blob
c531a9c95dd561c748050b12b9920d0b66eaac8e
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
"libcharset.h"
7
8
int
main
()
9
{
10
setlocale
(
LC_ALL
,
""
);
11
printf
(
"%s
\n
"
,
locale_charset
());
12
exit
(
0
);
13
}