Skip to content

Make Unicode.Scalar.Properties added after ICU 55 available on Linux #34182

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

Closed

Conversation

MrLotU
Copy link

@MrLotU MrLotU commented Oct 5, 2020

SE-0211 added new properties to Unicode.Scalar.Properties. Some of the properties added were never made available on Linux because they were not yet available in ICU 55 (the default on Ubuntu 16.04).

Since then, Swift on Linux has been changed to ship with ICU 61, so this is no longer a problem. This PR makes the remaining properties from SE-0211 available on Linux.

See #19860 for when ICU was added & always built with Swift on Linux.

@spevans
Copy link
Contributor

spevans commented Oct 5, 2020

The tests in test/stdlib/UnicodeScalarPropertiesTests.swiftshould be enabled as well.

@MrLotU
Copy link
Author

MrLotU commented Oct 5, 2020

@spevans I was under the impression https://github.com/apple/swift/pull/34182/files#diff-325b1cd0f86517c6f5ab1f886210ab70L85 would take care of this. If not, I'll take that up tomorrow!

@spevans
Copy link
Contributor

spevans commented Oct 5, 2020

Oh sorry, you are correct, I mis-read the diff!

@spevans
Copy link
Contributor

spevans commented Oct 5, 2020

@swift-ci test

@xwu
Copy link
Collaborator

xwu commented Oct 5, 2020

Will this break Windows?

@spevans
Copy link
Contributor

spevans commented Oct 5, 2020

@compnerd What version of ICU does the windows port use?

@compnerd
Copy link
Member

compnerd commented Oct 6, 2020

@spevans Windows is generally using 65+ (the current builds for main and 5.3 are using 67).

@Azoy
Copy link
Contributor

Azoy commented Dec 15, 2021

Closing this PR as we ship our own Unicode data now that includes emoji support for all platforms.

@Azoy Azoy closed this Dec 15, 2021
@MrLotU MrLotU deleted the LotU_unicode_properties_on_linux branch December 19, 2021 13:34
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.

5 participants