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

#334 Fix double slashes with single slashes in manifest json generation #335

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lprichar
Copy link
Collaborator

@lprichar lprichar commented Oct 3, 2022

Issue

Fixes #334

Description

When converting a manifest to json the C# replaces unicode characters like ú with an ascii escape sequence that begins with \u. However the C++ json library has a bug where it double escapes \ characters so this provides a workaround the replacing \\u with \u in the C++.

Testing

The unit test Test_Unicode_CandidateNames has been adjusted to assert the correct expected values. If it passes then we're good.

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.

🐞 Unicode gets double escaped when serializing to json
1 participant