webrtc/third_party_mods/libjingle
tommi@webrtc.org 73f98aebc6 Temporarily switch the numeric locale formatting to 'classic' while we process the signaling message.
This is to avoid running into problems with jsoncpp and parts of libjingle
where we use STL and CRT routines that refer to the global locale for formatting.
If the current locale is e.g. Spanish, then numbers will be formatted as "12,34"
and not "12.34" as some parts (not all) of jsoncpp expect.

Code I noticed where we might run into this is here (but it's likely that there are
more places):

third_party\libjingle\source\talk\p2p\base\candidate.h (preference_str)
third_party_mods\libjingle\source\talk\app\webrtc\webrtc_json.cc
third_party\jsoncpp\src\lib_json\*writer*
third_party\jsoncpp\src\lib_json\*reader*

BUG=69
TEST=Verify that the signaling messages always contain numbers formatted as "1.23" and never "1,23" even though the regional settings on the machine specify otherwise (e.g. try setting it to Spanish).
Review URL: http://webrtc-codereview.appspot.com/140007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@564 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-09-08 17:46:46 +00:00
..
source/talk Temporarily switch the numeric locale formatting to 'classic' while we process the signaling message. 2011-09-08 17:46:46 +00:00
libjingle.gyp Fix error when building Peerconnection in Chrome. 2011-09-07 08:35:36 +00:00
OWNERS Switch to webrtc.org accounts (for those which exist). 2011-08-10 05:16:31 +00:00