Fixed print_number internal function from using ',' for decimal value...
Brought to you by:
davegamble
Hello, I'd like to submit this patch to fix print_number() internal function in cJSON when LC_NUMERIC is set to certain locale that uses ',' for decimal value separator.
The patch basically iterates through the buffer after sprintf(str,"%f"...) and change ',' to '.'
This makes cJSON implementation to not dependent on LC_NUMERIC value.