Errors parsing & writing JSON floats, in some locales
snej opened this issue · 0 comments
snej commented
The code we use for reading/writing floating point is (accidentally) locale-dependent, thanks to some really bad design decisions in the ANSI C and POSIX specs. This means that in locales that don't use "." as the decimal point character, floats won't parse or format properly. (Pointed out by @Dushistov in #51.)