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-13451] Unicode Normalization Fails Silently #3971

Open
swift-ci opened this issue Aug 26, 2020 · 0 comments
Open

[SR-13451] Unicode Normalization Fails Silently #3971

swift-ci opened this issue Aug 26, 2020 · 0 comments

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-13451
Radar None
Original Reporter SDGGiesbrecht (JIRA User)
Type Bug
Environment

macOS 10.15.6, Swift 5.2.4

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug
Assignee None
Priority Medium

md5: 730e118fa8a7536a11cad5a89d42eefe

Issue Description:

decomposedStringWithCompatibilityMapping() appears to do nothing if called near the beginning of program execution.

Certain other APIs seem to trigger as a side‐effect whatever initial loading is necessary for normalization to work correctly. At least `XCTMain` and `Locale.current` fall in this category. If either has already been touched, the problem does not seem to manifest itself.

A reproducible example is already outlined on the forums.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant