Skip to content
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

[SR-6642] JSONEncoder on Linux should not produce incorrect JSON when setlocale() is invoked #49191

Closed
millenomi opened this issue Dec 19, 2017 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella

Comments

@millenomi
Copy link
Contributor

Previous ID SR-6642
Radar None
Original Reporter @millenomi
Type Bug
Status Closed
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug
Assignee None
Priority Medium

md5: 66000f7bf106104d031663ae8115240e

duplicates:

  • SR-6631 Swift JSONEncoder is dependent to the locale decimal point policy encoding

Issue Description:

JSONEncoder on Linux may produce incorrect results if setlocale() is invoked with a locale that uses a comma as its separator (e.g. setlocale("fr-FR").)

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant