Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

New-DscResourcePowerShellHelp: Files are generated as UTF-8 with BOM #339

Closed
johlju opened this issue Jul 12, 2019 · 0 comments · Fixed by #340
Closed

New-DscResourcePowerShellHelp: Files are generated as UTF-8 with BOM #339

johlju opened this issue Jul 12, 2019 · 0 comments · Fixed by #340

Comments

@johlju
Copy link
Contributor

johlju commented Jul 12, 2019

Details of the problem, bug, or enhancement

The files outputted from the function New-DscResourcePowerShellHelp are UTF-8 with BOM and we have removed any other file from the repos so they are just using UTF8 (ASCII).

Verbose logs showing the problem (if applicable)

Suggested solution to the issue

Change the encoding of the cmdlet Out-File to output ASCII.

johlju added a commit to johlju/DscResource.Tests that referenced this issue Jul 12, 2019
PlagueHO added a commit that referenced this issue Jul 13, 2019
New-DscResourcePowerShellHelp: Fix issue #338 and issue #339
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant