getSystemEncoding will always return "ASCII" on windows. If you know a replacement for langinfo.h on windows, please tell me. darcs-hash:20070813123558-a4fee-ec2f0f39494b005f8ae30fa7f0c2862cfa77695d
11 lines
179 B
C
11 lines
179 B
C
#ifndef __SYSTEM_ENCODING__
|
|
#define __SYSTEM_ENCODING__
|
|
|
|
#if !defined(mingw32_HOST_OS) && !defined(__MINGW32__)
|
|
#include <langinfo.h>
|
|
#endif
|
|
|
|
char* get_system_encoding();
|
|
|
|
#endif
|