encoding/system_encoding.c
Henning Guenther f3022891df Remove nl_langinfo hack
Ignore-this: 1f46fdb32bd81d98cd52744377da3dbb

darcs-hash:20100214231939-a4fee-53f1a968c4e6a89f1526bbb85d9926688de4afda
2010-02-14 15:19:39 -08:00

7 lines
117 B
C

#include "system_encoding.h"
char* get_system_encoding() {
setlocale(LC_ALL,"");
return nl_langinfo(CODESET);
}