Skip to content

fix: JUnit reporter was encoding xml files in UTF-16 instead of UTF-8#4001

Merged
thomhurst merged 2 commits intothomhurst:mainfrom
rchoffardet:fix/3985
Dec 6, 2025
Merged

fix: JUnit reporter was encoding xml files in UTF-16 instead of UTF-8#4001
thomhurst merged 2 commits intothomhurst:mainfrom
rchoffardet:fix/3985

Conversation

@rchoffardet
Copy link
Copy Markdown
Contributor

@rchoffardet rchoffardet commented Dec 6, 2025

Unfortunately the JUnit Reporter is encoding theX XML files in UTF-16 which is not supported by GitLab
image
Opening the file, i'm seeing that the header contains the wrong encoding: <?xml version="1.0" encoding="utf-16"?>

This fix will force the XML files to be encoded in UTF-8: <?xml version="1.0" encoding="utf-8"?>

Fixes #3985

@thomhurst thomhurst enabled auto-merge (squash) December 6, 2025 16:03
@thomhurst thomhurst disabled auto-merge December 6, 2025 16:03
@thomhurst thomhurst merged commit eeea476 into thomhurst:main Dec 6, 2025
8 of 10 checks passed
@thomhurst
Copy link
Copy Markdown
Owner

New version out again!

@claude claude bot mentioned this pull request Dec 6, 2025
1 task
This was referenced Dec 8, 2025
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.

CI/CD reporting for GitLab (junit)

2 participants