Skip to content

Definition of decimal separator #6

Open
@tferr

Description

@bengtl, We had recently a report of an SWC file saved in a locale that uses the comma as a decimal separator. The file failed to import but was otherwise valid. It would be useful to have an official stance on this:

  1. Are commas allowed as a decimal separator?
  2. Are commas allowed as a thousand separator?

Although most of the world used commas as a decimal separator, this was the first time we came across this issue, so I would argue that their adoption is rare. I would advise to never use them in SWC files. Supporting them would just increase the complexity of parsers.

While at it, what about new line encoding? I am assuming \n is the standard!? This is of lower importance since most text editors support both \r\n and \n, but it may be useful to also discuss this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions