-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iTerm2 color schemes can not be parsed when using a non-english locale #2
Labels
Product-Colortool
This is a problem with the utility application ColorTool for manipulating the console color palette.
Comments
👍 |
zadjii-msft
added
Product-Colortool
This is a problem with the utility application ColorTool for manipulating the console color palette.
and removed
Product-Colortool
This is a problem with the utility application ColorTool for manipulating the console color palette.
labels
Aug 14, 2017
This has been merged. |
ghost
mentioned this issue
Apr 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Product-Colortool
This is a problem with the utility application ColorTool for manipulating the console color palette.
When trying to apply an iTerm2 color scheme on a computer with a German locale, the scheme can not be parsed (and applied).
Error message:
I tracked it down to Convert.ToDouble used in https://github.com/Microsoft/console/blob/1be2939f257bc89136bd6ea2ee04cdf75d12f3f0/tools/ColorTool/ColorTool/XmlSchemeParser.cs#L48 which will use the current locale to parse the value. Because we use a comma as decimal separator and the dot as group separator, the values are invalid.
I created a pull request (#1: Use invariant culture for parsing double values)
The text was updated successfully, but these errors were encountered: