darcs-2.8.0: src/system_encoding.c
#include "system_encoding.h"
char* get_system_encoding() {
#ifdef WIN32
return "utf8";
#else
setlocale(LC_ALL,"");
return nl_langinfo(CODESET);
#endif
}
#include "system_encoding.h"
char* get_system_encoding() {
#ifdef WIN32
return "utf8";
#else
setlocale(LC_ALL,"");
return nl_langinfo(CODESET);
#endif
}