Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
Comment #5 by [EMAIL PROTECTED]:
Fixed by Pawel.
Issue attribute updates:
Status: Fixed
--
You received this message because you are listed in the owner
or CC fields of th
Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
Comment #4 by phajdan.jr:
Submitted proof-of-concept patch http://codereview.chromium.org/9509 .
--
You received this message because you are listed in the owner
or CC fields of t
Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
Comment #3 by phajdan.jr:
The cause seems to be JSONReader::DecodeNumber and its usage of
StringToDouble. StringToDouble uses strtod
or wcstod, which are locale-sensitive.
I see tw
Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
Comment #2 by [EMAIL PROTECTED]:
With a pt_BR locale:
% printf "%f" 3.14
3,14
I bet we're depending on a locale-specific string parse somewhere.
(BTW, on Ubuntu, to add a locale
Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
Comment #1 by [EMAIL PROTECTED]:
% printf "%f" 3.14
3,14
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred th
Issue 3675: JSON deserialize improperly depends on locale
http://code.google.com/p/chromium/issues/detail?id=3675
New issue report by [EMAIL PROTECTED]:
% LANG=pt_BR.UTF-8 ./Hammer/unit_tests --gtest_filter=JSONValue*Roundtrip
Note: Google Test filter = JSONValue*Roundtrip
[==] Running 1