Skip to content

Allow program to work in non-English languages - #10

Closed
George Schizas (gschizas) wants to merge 2 commits into
microsoft:masterfrom
gschizas:master
Closed

George Schizas (gschizas) wants to merge 2 commits into
microsoft:masterfrom
gschizas:master

Conversation

@gschizas

Copy link
Copy Markdown

Parsing a number should almost always contain the culture that the parsing should happen, otherwise local culture may break it. In the case of a standardized format (e.g. the itermcolor plist XML standard), the numbers use "." as the decimal separator, so the proper culture is the InvariantCulture. This is by definition the same as en_US, but it's more suited for parsing standardized strings such as this.

@msftclas

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@gschizas

George Schizas (gschizas) commented Aug 13, 2017 •

Copy link
Copy Markdown
Author

I'm removing this as duplicate, the very first PR handled this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants