[ 
https://issues.apache.org/jira/browse/MESOS-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565367#comment-15565367
 ] 

Alexander Rojas commented on MESOS-6349:
----------------------------------------

This error was reported in the past 
https://mail-archives.apache.org/mod_mbox/mesos-user/201605.mbox/%3Ctrinity-8eb0291f-7265-40c1-bdfc-59997e31264e-1464511647464@3capp-gmx-bs14%3E.
 However it is difficult to reproduce since programs set the {{C}} locale at 
launch.

It is not clear how in some systems the locale is changed to the locale of the 
system since Mesos doesn't explicitly sets one.

> JSON Generation breaks if other locale than C is used
> -----------------------------------------------------
>
>                 Key: MESOS-6349
>                 URL: https://issues.apache.org/jira/browse/MESOS-6349
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Alexander Rojas
>
> In locales where the decimal separator is different from a {{.}}, i.e. Latin 
> American locales, Europe locales and most of asia, the JSON generated is 
> invalid, since it uses the system locale.
> Example, the following code will be generated:
> {code}
> {
>   "float_number" : 1234567,9871
> }
> {code}
> Instead of the expected:
> {code}
> {
>   "float_number" : 1234567.9871
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to