{"action":"opened","issue":{"url":"https://api.github.com/repos/byzhang/rapidjson/issues/84","labels_url":"https://api.github.com/repos/byzhang/rapidjson/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/rapidjson/issues/84/comments","events_url":"https://api.github.com/repos/byzhang/rapidjson/issues/84/events","html_url":"https://github.com/byzhang/rapidjson/issues/84","id":59729847,"number":84,"title":"Decimal separator follows the locale","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/rapidjson/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T00:14:25Z","updated_at":"2015-03-04T00:14:25Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1.write a simple programm in c++ using rapidjson that does :\na) create a Value of type double (\"myDouble\",3.5)\nb) print Value using FastWriter or StyledWriter (or Value.toStyledString)\n2.set locale to fr_FR.UTF-8 in a terminal (i guess all locales that use by \ndefault the \",\" character as decimal separator\n3.execute program from the terminal\n\nWhat is the expected output? What do you see instead?\nI expect to see {\"myDouble\":3.5}\nbut I see {\"myDouble\":3,5}\n\nWhat version of the product are you using? On what operating system?\nOS: Fedora 18\nrapidjson: 0.11\n\nPlease provide any additional information below.\nremark: Maybe there is an option that i didn't see, if it's so, sorry\n\nMaybe it's not a bug, i guess it can appear logical that the library uses the \ndefault decimal separator of the local... But when a server expects a specific \nformat for double, whatever the local is, the problem can be a real issue, and \nthe workaround of changing locale is not really a good idea :/ Just for \ninformation, jsoncpp behaves the same, boost doesn't.\n\n\n\n\n\n```\n\nOriginal issue reported on code.google.com by `drkm...@gmail.com` on 3 Jul 2013 at 9:35"}}