[Libjson-devel] Double to string is locale dependent
Brought to you by:
ninja9578
|
From: Paula S. <pau...@gm...> - 2014-09-22 16:09:05
|
Hello, I noticed that conversion from double or float to string is not done in an locate independent manner. So for example if I have the locale set to Germany a double value will be converted to a string using comma and not the decimal dot( "1,235") and according to the json standards this is not a valid double representation. Is this a known issue/ was this the intended behaviour ? I have a patch that fixes this issue but it's not clear how I can submit it. Can anyone provide some info on this? Best regards, Paula |