https://www.systanddeploy.com/2014/07/powershell-tip-convertto-html-with-css.html
If you try to create an HTML output which uses a specific CSS file, this output may not be correctly displayed using Google Chrome.
To resolve this issue you can try by just adding "-encoding ASCII" after "out-file", as below :
Out-File -encoding ASCII your file.html
 |
Without the -encoding ASCII parameter |
 |
With the -encoding ASCII parameter |
Enregistrer un commentaire