Skip to content

[stdlib] Use Apple's PUA Unicode data #40526

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

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Conversation

Azoy
Copy link
Contributor

@Azoy Azoy commented Dec 13, 2021

Apple has defined PUA (Private Use Area) scalars with specific Unicode data. Use that on Apple platforms and default to base Unicode data everywhere else.

@Azoy Azoy requested a review from milseman December 13, 2021 11:36
@Azoy
Copy link
Contributor Author

Azoy commented Dec 13, 2021

@swift-ci please smoke test

Copy link
Member

@milseman milseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM for now.

I do think we want to eventually (maybe soon) consider getting these data files and the generator script out of the normal Swift repo (somehow syncing the magic numbers). This will become a bigger and bigger deal if/when we want to support multiple versions of the data files, which it really seems like we'll want to consider, at the very least for testing purposes.

@milseman
Copy link
Member

@swift-ci please test windows platform

@Azoy Azoy merged commit 8e5a835 into swiftlang:main Dec 13, 2021
@Azoy Azoy deleted the apple-unicode-pua branch December 13, 2021 22:39
Azoy added a commit to Azoy/swift that referenced this pull request Jan 7, 2022
[stdlib] Use Apple's PUA Unicode data
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