Multiplayer needs users to have matching locale settings

Bug #1192262 reported by James Ross
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Medium
Jijun Tang

Bug Description

According to posts by Jijun Tang, multi-player still needs all users to have matching locale settings for things to work. This is silly - this can easily be fixed.

Please fix it by serialising all floating point numerical data destined for other players using the InvariantCulture as in the example at http://msdn.microsoft.com/en-us/library/7tdhaxxa.aspx (you can also specify the format string and culture, e.g. ToString("G", CultureInfo.InvariantCulture)).

Then, all parsing routings for multiplayer data should be updated similarly, to use the CultureInfo.InvariantCulture.

Tags: multiplayer
James Ross (twpol)
description: updated
James Ross (twpol)
Changed in or:
status: New → Triaged
importance: Undecided → Medium
Jijun Tang (jtang-h)
Changed in or:
status: Triaged → In Progress
Jijun Tang (jtang-h)
Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.