Skip to content

[swift/main] [LiteralPrinter] Use ICU-style escaping for Unicode scalars #730

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
Mar 9, 2024

Conversation

natecook1000
Copy link
Member

@natecook1000 natecook1000 commented Mar 8, 2024

Cherry pick of #725.

This switches from the Swift Regex-only `\u{...}` style to the more
widely compatible `\uXXXX` / `\UXXXXXXXX` escaping for Unicode
scalar values.

Fixes rdar://123769526
@natecook1000
Copy link
Member Author

@swift-ci Please test

@natecook1000 natecook1000 merged commit a765595 into swift/main Mar 9, 2024
@natecook1000 natecook1000 deleted the swiftmain-literal-printer-compat branch March 9, 2024 05:12
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.

1 participant