Loading...

Powershell Tip : ConvertTo-HTML with CSS not working correctly on Google Chrome

Reply A+ A-

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




Scripting 9118479514003836676

Enregistrer un commentaire

Enregistrer un commentaire

emo-but-icon

Accueil item