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