319 attempted to fix localization of numbers serialized as attributes. However, we discovered that it was still broken, and the underlying reason is that we have to pass all attributes as strings with a valueType in protobuf serialization. This creates a string representation with a default period decimal delimiter, but in a Norwegian or other non-English server, the AttributesDictionary deserialization tries to parse and expects a comma-delimiter instead.
The correct fix should be to use CultureInfo.InvariantCulture when deserializing and parsing numbers and dates.
319 attempted to fix localization of numbers serialized as attributes. However, we discovered that it was still broken, and the underlying reason is that we have to pass all attributes as strings with a
valueType
in protobuf serialization. This creates a string representation with a default period decimal delimiter, but in a Norwegian or other non-English server, theAttributesDictionary
deserialization tries to parse and expects a comma-delimiter instead.The correct fix should be to use
CultureInfo.InvariantCulture
when deserializing and parsing numbers and dates.