aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index e8c3abe..f863d73 100644
--- a/README
+++ b/README
@@ -309,6 +309,18 @@ Lua CJSON will generate an error if asked to serialise Lua functions,
309userdata, lightuserdata or threads. 309userdata, lightuserdata or threads.
310 310
311 311
312Locale handling
313---------------
314
315Lua CJSON uses strtod() and snprintf() to perform numeric conversion
316as they are usually well supported, fast and bug free.
317
318To ensure JSON encoding/decoding works correctly for locales using
319comma decimal separators, Lua CJSON must be compiled with either
320USE_POSIX_USELOCALE or USE_POSIX_SETLOCALE. See the Makefile or the
321rockspec for details.
322
323
312References 324References
313========== 325==========
314 326