Skip to content

Do not escape UNICODE when writing out target info. #41844

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 17, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Mar 16, 2022

Escaping unicode characters results in invalid JSON.
Refactor writeEscaped routine into StringExtras because it is also used in sourcekitd.

Resolves rdar://90108531

@artemcm artemcm requested review from nkcsgexi and ahoppen March 16, 2022 21:10
@artemcm
Copy link
Contributor Author

artemcm commented Mar 16, 2022

@swift-ci please test

@artemcm
Copy link
Contributor Author

artemcm commented Mar 16, 2022

@swift-ci please test macOS platform

Escaping unicode characters results in invalid JSON.

- Refactor writeEscaped routine into StringExtras

Resolves rdar://90108531
@artemcm artemcm force-pushed the TargetInfoCarefulJSON branch from be9c00d to 57518b5 Compare March 16, 2022 22:30
@artemcm
Copy link
Contributor Author

artemcm commented Mar 16, 2022

@swift-ci please test

@ahoppen
Copy link
Member

ahoppen commented Mar 17, 2022

@swift-ci please test Linux

@artemcm artemcm merged commit 9a9f796 into swiftlang:main Mar 17, 2022
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