Skip to content

Conversation

nickshulman
Copy link
Contributor

@nickshulman nickshulman commented Oct 10, 2025

Replace invalid characters with backslash u and a hex code when creating XML element with text content from log file.

1. Always use UTF-8 encoding for test console output unless running on WINE
2. Replace invalid characters with '?' when creating XML element with text content from log file.
@nickshulman nickshulman requested a review from chambm October 10, 2025 22:37
Replace invalid surrogate pairs as well.
Rely on Nightly.ReplaceInvalidXmlChars to let us know about bad encoding in the log file.
@nickshulman nickshulman removed the request for review from chambm October 11, 2025 05:15
@nickshulman nickshulman changed the title Better fix for nightly failure caused by invalid characters in test Log Escape invalid characters when creating XML document from log file Oct 11, 2025
@nickshulman nickshulman merged commit ca0627f into master Oct 11, 2025
12 checks passed
@nickshulman nickshulman deleted the Skyline/work/20251010_BetterFixForNightlyFailure branch October 11, 2025 14:13
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