Current behavior
Metadata is hardcoded to use -Encoding UTF8.
UTF8 is UTF-8 with BOM.
| Set-Content-Encoding UTF8 -Path $Path-Value $ManifestContent-NoNewline |
Expected behavior
Metadata should not change the file encoding of the manifest.
Eg: I have my manifest files in UTF-8 without BOM
Current behavior
Metadatais hardcoded to use-Encoding UTF8.UTF8isUTF-8 with BOM.Configuration/Source/Metadata.psm1
Line 595 in 244a7cb
Expected behavior
Metadatashould not change the file encoding of the manifest.