Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpx/lua-cjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-10-05 17:00:27 +0400
committerMark Pulford <mark@kyne.com.au>2011-10-05 17:00:27 +0400
commit0f3ab84a261292d16f684551e67f2f007199936a (patch)
tree5ece4652a08b968232b417f5cf4ceaf234f2be2f /TODO
parent03fa2b508aee4cdf2eac41d53834412ac757feef (diff)
Support locales which use comma decimal separators
Some locales (cs_CZ, de_DE,..) use a comma as their decimal separator. This causes CJSON to generate incorrect JSON (Eg, [10,1]), and fail when parsing some valid JSON (Eg, [10,"test"]). Added USE_POSIX_LOCALE #define which harnesses the thread-safe POSIX.1-2008 locale support (newlocale(), uselocale(), freelocale()) to temporarily use the POSIX locale during JSON conversion. Some older POSIX operating systems with xlocale.h (MacOSX) are also supported.
Diffstat (limited to 'TODO')
-rw-r--r--TODO2
1 files changed, 2 insertions, 0 deletions
diff --git a/TODO b/TODO
index 1345448..9dbde9c 100644
--- a/TODO
+++ b/TODO
@@ -2,3 +2,5 @@
- Optionally create an object for settings. Clone function.
- Convert documentation into structured source format
+
+- Add setlocale() support for non-POSIX 2008 operating systems