@@ -22,10 +22,11 @@ #include /* include any libc header to get the libc defines */ #ifdef __GLIBC__ # undef __USE_XOPEN #endif +#include #include #include "platform.h" #ifdef OF_MAC_OS_X @@ -146,10 +147,15 @@ + (of_string_encoding_t)native8BitEncoding { /* FIXME */ return OF_STRING_ENCODING_UTF_8; } + ++ (OFString*)decimalPoint +{ + return [OFString stringWithUTF8String: localeconv()->decimal_point]; +} + (OFString*)userDataPath { #if defined(OF_MAC_OS_X) || defined(OF_IOS) void *pool = objc_autoreleasePoolPush();