Open sergey-s-betke opened 3 years ago
Hmm, interesting. My thinking is that this was an encoding issue with the final XML from the XSLT transformation, but I tried both UTF-8 and UTF-16 encodings and that didn't seem to have any impact: https://github.com/zyborg/pester-tests-report/runs/4036216938?check_suite_focus=true
Hmm, interesting. My thinking is that this was an encoding issue with the final XML from the XSLT transformation, but I tried both UTF-8 and UTF-16 encodings and that didn't seem to have any impact: https://github.com/zyborg/pester-tests-report/runs/4036216938?check_suite_focus=true
Please, use [System.IO.File]::ReadAllText
with encoding in second parameter. [System.IO.StreamWriter]::new
without encoding create file without BOM.
May be:
[System.IO.StreamWriter]::new
by [System.IO.StreamWriter]::new
with encoding (utf8)[System.IO.File]::ReadAllText
by [System.IO.File]::ReadAllText
with encoding (utf8, with BOM!)Export-Clixml
by Export-Clixml
with encoding (utf8, with BOM!)
Now this action ignore unicode strings (see https://github.com/test-st-petersburg/DocTemplates/runs/3995464448?check_suite_focus=true ).
Please, use UTF8 encoding on tests results processing.