darcs-beta-2.7.98.2: 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
}